[Mapserver-users] Built but can't run : libproj not
Vladimir Guzmán
bigfoot at main-task.com
Thu Jul 22 15:48:58 PDT 2004
Eduardo Patto Kanegae wrote:
> I'm configuring MapServer 4.2.1 under Linux Fedora Core 2 using:
>
> ./configure --enable-ignore-missing-data --enable-debug
> --with-freetype=/usr/lib --with-zlib=/usr/lib --with-png=/usr/lib
> --without-jpeg --with-xpm=/usr/X11R6/lib --with-gd=/usr --with-eppl
> --with-proj --with-ogr=/usr/local/bin/gdal-config
> --with-gdal=/usr/local/bin/gdal-config --without-tiff
> --without-postgis --without-mygis --with-wfs --with-wfsclient
> --with-wms --with-wmsclient --with-curl=/usr/bin
> --with-php=/usr/local/mapserver4linux/php-4.3.7 2>&1 | tee configure.log
>
> then building using
>
> make 2>&1 | tee make.log
>
> Logfiles are attached
>
> But after all, when trying to test all using:
>
> ./mapserver -v
>
> I got the error:
>
> ./mapserv: error while loading shared libraries: libproj.so.0: cannot
> open shared object file: No such file or directory
>
> I also tried --with-proj=/usr/local or --with-proj=/usr/local/lib ,
> but they all gave the same error.
>
> My PROJ 4.4.8 was built using defaul:
>
> ./configure
> make
> make install
>
>
> and here's the result of a ` ls -lh /usr/local/lib/libproj* `
>
> -rw-r--r-- 1 root root 2.5M Jul 21 09:28 /usr/local/lib/libproj.a
> -rwxr-xr-x 1 root root 709 Jul 21 09:28 /usr/local/lib/libproj.la
> lrwxrwxrwx 1 root root 16 Jul 21 09:28 /usr/local/lib/libproj.so ->
> libproj.so.0.4.2
> lrwxrwxrwx 1 root root 31 Jul 22 18:29 /usr/local/lib/libproj.so.0
> -> /usr/local/lib/libproj.so.0.4.2
> -rwxr-xr-x 1 root root 1.4M Jul 21 09:28 /usr/local/lib/libproj.so.0.4.2
>
> What could be wrong?
>
> ps.: I can supress PROJ4 support cause I need WMS/WFS features
>
>
Is /usr/local/lib in your /etc/ld.so.conf ?
If not, put it, and run ldconfig
Hope that helps,
--
Vladimir Ilich Guzmán R.
------------------------
http://maintask.com
More information about the MapServer-users
mailing list