Peter Loewe wrote:
Hi,

I am trying to compile MS from the 5.0.1 source on a remote (webhosting) system 
(i have no root priviliges there).

For some unknown reason, mapserver  refuses to acknowledge the location of 
libgdal [GDAL itself was built from the sources (1.5.0) and shows no problems]:

Unfortunately, this is what ldd mapserv  has to tell:
ldd mapserv
        linux-gate.so.1 =>  (0xb7f68000)
        libgd.so.2 => /home/pacs/xxx/homebuilt/gd-2.0.33/.libs/libgd.so.2 
(0xb7f17000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7eeb000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e81000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7e5e000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7e4a000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7e3a000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d4e000)
        libproj.so.0 => /usr/lib/libproj.so.0 (0xb7d18000)
        libgdal.so.1 => not found

Yet, libgdal.so.1 _does_ exist:

ls -l ~/homemade/lib/

-rw-r--r-- 1 libgdal.a
-rwxr-xr-x 1 libgdal.la
lrwxrwxrwx 1 libgdal.so -> libgdal.so.1.12.0
lrwxrwxrwx 1 libgdal.so.1 -> libgdal.so.1.12.0
-rwxr-xr-x 1 libgdal.so.1.12.0
-rw-r--r-- 1 libpdf.a

Has anybody encountered this before ?

ANY suggestion would be much appreciated!

Peter,

Setup the LD_LIBRARY_PATH environment variable to point to /home/pacs/xxx/homemade/lib. You can try this at the commandline
initially but you will likely want to accomplish it with a wrapper
script around mapserv when you are ready to deploy things as a cgi.
(assuming you also can't modify the apache configuration).

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

Reply via email to