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

Sebastian E. Ovide sebastian.ovide at gmail.com
Thu Nov 18 12:14:40 EST 2010


you are right...  the problem was that in Fedora the homes have access
restrictions by default ... thanks

On Thu, Nov 18, 2010 at 5:00 PM, Daniel Morissette <dmorissette at mapgears.com
> wrote:

> 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/
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101118/ff9d662a/attachment.html


More information about the mapserver-users mailing list