mapserver doesnt't see libgdal

Peter Loewe peter.loewe at GMX.DE
Mon Jan 28 06:33:03 PST 2008


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]:

---MS-Configure:

LDFLAGS='-L/home/pacs/aho02/users/loewe01/homemade/lib -L/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib  -Wl,-rpath=/home/pacs/xxx/homemade/lib' \
./configure \
--prefix=/home/pacs/xxx/homemade/lib \
--enable-runpath \
--with-gd=/home/pacs/xxx/homebuilt/gd-2.0.33  \
--with-proj \
--with-gdal=/home/pacs/xxx/homemade/bin/gdal-config \
--without-ogr \
--without-wcs \
--with-wmsclient \
--with-wms \
--without-wfs \
--without-wfsclient \
--with-xml2-config=/usr/bin/xml2-config \
--without-sos \
--with-pdf=/home/pacs/xxx/homebuilt/PDFlib-6.0.3p5-Linux/bind/c \
--with-php=/usr/local/share/php/5.1.1

MS compiles nicely.

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



-- 
Dr. Peter Löwe
<peter.loewe at gmx.de>





Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the MapServer-users mailing list