[mapserver-users] Problems with compilation

Janis Bokans Janis.Bokans at vzd.gov.lv
Tue Mar 5 09:16:39 PST 2002


Hi!

I have Linux box .. Slackware 7.1
Trying to compile mapserver 3.5 with Oracle spirtal..

root at maps:/home/JailZzz/MapServer/mapserver_3.5# make
gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_WMS  -DUSE_ORACLESPATIAL
-DUSE_TIFF -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_SWAP_XY
-I/home/JailZzz/MapServer/mapserver_3.5/../mapserver_nightly/gd-1.2
-I/usr/local/include -I/usr/include          -I/Oracle/rdbms/demo
-I/Oracle/rdbms/public
shp2img.o  -L. -lmap
-L/home/JailZzz/MapServer/mapserver_3.5/../mapserver_nightly/gd-1.2 -lgd
-ljpeg -L/usr/local/lib -lttf -lpng -lz  -L/usr/include/lib -ltiff -ljpeg
-L/usr/local/lib -lttf -lpng -lz -L/usr/local/lib -lproj -ljpeg
-L/Oracle/lib -lclntsh  -lm   -o shp2img
/usr/i386-slackware-linux/bin/ld: warning: libwtc8.so, needed by
/Oracle/lib/libclntsh.so, not found (try using )
/Oracle/lib/libclntsh.so: undefined reference to `wtcstu'
/Oracle/lib/libclntsh.so: undefined reference to `wtclkm'
/Oracle/lib/libclntsh.so: undefined reference to `wtcsrin'
/Oracle/lib/libclntsh.so: undefined reference to `wtcMerr'
/Oracle/lib/libclntsh.so: undefined reference to `wtcsrin0'
/Oracle/lib/libclntsh.so: undefined reference to `wtcsrfre'
/Oracle/lib/libclntsh.so: undefined reference to `wtcLerr'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1   

In /Oracle/lib I have libwtc8.so..

Anyone can tell me how to use --rpath ?


Sory for my english. :)

___________________________-
Jānis Bokāns
LR VZD programmētājs
mailto: janis.bokans at vzd.gov.lv
+371 7038802



More information about the MapServer-users mailing list