[mapserver-users] Problems with compilation

Yu-Hsin Chen ychen at yorktel.com
Tue Mar 5 12:19:13 PST 2002


I don't know if Slackware is much different than my Linux or not.

In my /etc directory there is a ld.so.conf directory where I need to
have /Oracle/lib as a line in that file.  After you add the line you'll
need to run ldconfig command that should solve the problem.

Yu-Hsin

-----Original Message-----
From: Janis Bokans [mailto:Janis.Bokans at vzd.gov.lv]
Sent: Tuesday, March 05, 2002 12:17 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Problems with compilation


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. :)

___________________________-
Janis Bokans
LR VZD programmetajs
mailto: janis.bokans at vzd.gov.lv
+371 7038802



More information about the MapServer-users mailing list