[Mapserver-users] 3.7 needing Oracle lib?
Frank Warmerdam
warmerdam@pobox.com
Tue, 25 Feb 2003 10:22:11 -0500
Oliver Wesp wrote:
> Hi,
>
> This is not a real problem to me, I was just wondering. I recently
> compiled 3.7 (nightly.tar 02/23/2003) with
>
> ./configure --with-gdal=/path/to/gdal-config
>
> mapserver -v and ./mapserver from the shell worked fine. But as soon as
> I tried to use it via cgi an internal server error occurred. The apache
> log told me there was libclntsh.so.8.o missing. This is a library from
> Oracle. I added $ORACLE_HOME/lib to my LD_LIBRARY_PATH and everything
> went fine.
> But why is mapserver requesting this, although it's not compiled with
> oracle spatial support? And what if there is NO oracle on the server
> machine? Can anybody shed any light on this?
Oliver,
Sorry about that. The GDAL makefile (GDALmake.opt) is currently automatically
including Oracle Spatial support in OGR if the ORACLE_HOME environment variable
is set when you build. This should be controlled by a configure option but
currently is not.
To avoid this do a clean build of GDAL with the ORACLE_HOME environment
variable temporary unset. libclntsh.so is a fair chunk of stuff to have
to load at runtime if you don't need it!
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users