Linking problem
Rick Sivernell
res005ru
Sun Feb 20 16:51:46 PST 2005
List, compile link guru;s
Having a bit of a sticky wiket here, as our Brit bros & sisters would say. I
have a peice of code that has not changed in a while. But when I installed the
Suse 9.2 on this AMD64 I got some new code version of a build system, the name is
SCONS. Well I have gotten everything back up the last step in rebuild ing the
code. But the following will not link in the proper library wx_based-2.5, which
is libwx_based-2.5.so in the /usr/local/lib directory:
g++ -o silverware mainframe.o classviewframe.o silverwareIDE.o -L/usr/local/lib
-Llib/debug -L/usr/X11R6/lib64 -lwx_based-2.5 -lwx_based_net-2.5
-lwx_gtk2d_core-2.5 -lwx_gtk2d_svg-2.5 -lwx_gtk2d_adv-2.5 -lwx_gtk2d_animate-2.5
-lwx_gtk2d_xrc-2.5 -lregistryD -lwidgetsD -lide_editD -ldlgsD -lviewsD
-lideutilityD -lX11 -lXpm -lXext -lpthread
What I get is unresoled error for my code from the linker. I have the
/usr/local/lib in /etc/ld.so.conf ldconfig -v | grep libwx_based-2.5.3.so is
found. I just can not seem to get the linker to find the library. As can be seen
above the -L/usr/local/lib should do the trick, but no joy. Anyone have any ideas
here? This s a Suse 9.2 on an Asus K8N-E Delux mobo with 2 gig memory & 2 250
hds. An AMD64 cpu.
cheers
--
Rick Sivernell
Dallas, Texas 75287
972 306-2296
res005ru at verizon.net
Registered Linux User
.~.
/ v \
/( _ )\
^ ^
In Linux we trust!
More information about the Linux-users
mailing list