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::
أكثر...
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::
- Navigate to tmp folder before start installing
- cd $HOME/tmp
- export TEMPDIR=$HOME/tmp
- CMAKE
- wget http://www.cmake.org/files/v3.1/cmake-3.1.2.tar.gz
- tar xzf cmake-3.1.2.tar.gz
- cd cmake-3.1.2
- ./bootstrap
- make --prefix=$HOME
- make install
- BOOST
- wget http://sourceforge.net/projects/boost/files/boost/1.57.0/boost.tar.gz
- tar xzf boost.tar.gz
- cd boost_1_57_0/
- ./boostrap.sh
- b2 install --prefix=$HOME
- MPFR
- wget http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.gz
- tar xzf mpfr-3.1.2.tar.gz
- cd mpfr-3.1.2/
- ./configure
- make
- make check
- make install
- CGAL
- wget https://gforge.inria.fr/frs/download.php/file/34400/CGAL-4.5.1.tar.gz
- tar xzf CGAL-4.5.1.tar.gz
- cd CGAL-4.5.1/
- cmake .
- make
- make install
- Download package
- git clone git://github.com/pgRouting/pgrouting.git
- cd pgrouting
- Install package
- mkdir build
- cd build
- cmake -DBoost_NO_BOOST_CMAKE=ON ..
- make
- make install
أكثر...