Error installing PGRouting database extensions

المشرف العام

Administrator
طاقم الإدارة
Im trying to install pgRouting and I cannot reach the end of the way because of the following error:

psql:/home/user/share/postgresql/contrib/pgrouting-2.0/pgrouting.sql:2459: ERROR: could not load library "/home/user/lib/postgresql/librouting_dd.so":libCGAL.so.10: cannot open shared object file: No such file or directoryI get this error when I try to apply extensions in postgres database by executing

CREATE EXTENSION pgroutingI installed the required dependencies and all installations were successful.Im installing the application in a CentOS server and binaries are installend in

/home/user/liband

/home/user/binlibrouting_dd is at:

/home/user/lib/postgresql/librouting_dd.soand cgal is at:

/home/user/lib/libCGAL.so.10To install the required dependencies and to install pgRouting I followed next steps:

::Installing Dependencies::

  1. Navigate to tmp folder before start installing
    • cd $HOME/tmp
    • export TEMPDIR=$HOME/tmp
  2. CMAKE
  3. BOOST
  4. MPFR
  5. CGAL
::Installing PGRouting::

  1. Download package
    • git clone git://github.com/pgRouting/pgrouting.git
    • cd pgrouting
  2. Install package
    • mkdir build
    • cd build
    • cmake -DBoost_NO_BOOST_CMAKE=ON ..
    • make
    • make install

أكثر...
 
أعلى