[Mapserver-users] Compile W2k and Oracle Spatial

Eric Baelen baelene at hotmail.com
Thu Jan 23 03:47:05 EST 2003


I try to compile MapServer under W2K with Cygwin and Oracle 8.1.7. It seems 
that it doesn't find the Oracle library.

gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H 
-DUSE_WMS_SVR     -DUSE_ORACLESPATIAL -DUSE_TIFF -DUSE_JPEG -DU
SE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP    -DUSE_GDAL    
-I/cygdrive/c/mapserver_dev/gd  -I/cygdrive/c/mapserver_dev/proj-4.4.5/src   
      -I/
usr/local/include    -I../oracle/ora81/oci/include 
-I../oracle/ora81/rdbms/public shp2img.o  -L. -lmap -ljpeg -L/usr/local/lib 
-lfreetype -L
/lib -lpng -L/lib -lz   -ltiff -ljpeg -L/usr/local/lib -lfreetype -L/lib 
-lpng -L/lib -lz  -L/cygdrive/c/mapserver_dev/proj-4.4.5/src/.libs
-lproj -ljpeg        -L../oracle/ora81/lib -lclntsh   -lm 
/cygdrive/c/mapserver_dev/gd/.libs/libgd.a  -o shp2img
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: 
cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1


Before compiling do I need to do something on my Oracle libraries (ldconfig) 
? Any clue ?
Thanks for you help
Eric

_________________________________________________________________
Chat with your online buddies with MSN Messenger http://messenger.msn.be




More information about the mapserver-users mailing list