Opened 13 years ago
Closed 13 years ago
#3639 closed defect (invalid)
mapserv runtime issue with libgdal
Reported by: | mapsurfer | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | 5.6 |
Severity: | normal | Keywords: | libgdal mapserv |
Cc: |
Description
Oh man it's been a long time since I have built mapserv, but I really want to check out the latest with as many features/options as possible (probably a mistake, but..)
my build looks something like:
./configure --with-proj --with-xml2-config=/usr/local/bin --with-curl-config=/usr/local/bin/curl-config --with-geos --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --with-tiff=/usr/local --with-php=/usr --with-wmsclient --with-wfs --with-jpeg --with-png --with-cairo
I think the 2 different versions libcurl exist on my machine, but I will get that worked out... but the real problem I am having, getting hung with mapserv finding libgdal:
[root@maps mapserver-5.6.5]# ./mapserv ./mapserv: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
[root@maps mapserver-5.6.5]# ./shp2img ./shp2img: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory
[root@maps gdal-1.7.3]# ls -l /usr/local/lib/libgdal* -rw-r--r-- 1 root root 38639782 Dec 21 07:08 /usr/local/lib/libgdal.a -rwxr-xr-x 1 root root 1081 Dec 21 07:08 /usr/local/lib/libgdal.la lrwxrwxrwx 1 root root 17 Dec 21 07:08 /usr/local/lib/libgdal.so -> libgdal.so.1.14.3 lrwxrwxrwx 1 root root 17 Dec 21 07:08 /usr/local/lib/libgdal.so.1 -> libgdal.so.1.14.3 -rwxr-xr-x 1 root root 24155872 Dec 21 07:08 /usr/local/lib/libgdal.so.1.14.3
[root@maps gdal-1.7.3]# cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/local/lib /usr/lib /usr/X11R6/lib
Do you have any idea what might be happening with mapserv not finding libgdal? Any help or suggesstions appreciated.
You'll get more help on IRC or using our mailing list. This is not a bug but only a system configuration. Please see: http://mapserver.org/community/index.html