[mapserver-users] Mapserver + OCI error while loading shared libraries from Apache ?

Daniel Morissette dmorissette at mapgears.com
Thu Nov 18 09:00:39 PST 2010


Does the file /home/gis/libs/instantclient_11_2/libclntsh.so.11.1 exist
and is the full path to its location reachable by the user running the
Apache server? i.e. check the permissions on all subdirs, especially
/home/gis which is likely to have access restrictions by default.



Sebastian E. Ovide wrote:
> Hi All,
> 
> everything is working find from shell. I register the Oracle libraries
> with ldconfig, I have even created a cgi that set the LD_LIBRARY_PATH
> 
> [gis at mapserver-fc14 cgi-bin]$ cat test.sh
> #!/bin/sh
> export ORACLE_HOME=/home/gis/libs/instantclient_11_2/
> export LD_LIBRARY_PATH=/home/gis/libs/instantclient_11_2/
> /var/www/cgi-bin/mapserv $*
> 
> and still getting 
> 
> [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50]
> /var/www/cgi-bin/mapserv: error while loading shared libraries:
> libclntsh.so.11.1: cannot open shared object file: No such file or directory
> [Thu Nov 18 16:50:06 2010] [error] [client 10.0.1.50] Premature end of
> script headers: test.sh
> 
> any ideas ?
> 
> note: this problem is on a Fedora 14
> -- 
> Sebastian E. Ovide
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list