This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Library link problem


Hi,

I have already installed xercesc-c2_1_0-linux7.2gcc31 and ld gives me this 
link warning:

/usr/bin/ld: warning: libstdc++.so.4, needed by 
/work/development/bola/xerces-c2_1_0-linux7.2gcc31/lib/libxerces-c.so, not 
found (try using -rpath or -rpath-link)

I have the library libstdc++.so.5 and I'm using gcc 3.2 over Red Hat 8.0. I 
have downloaded libstdc++.so.4 but when I link it gcc says it does not create 
any objects. I don't know if I there is more steps to link a library than just 
"ln -s ...". I don't know how to use -rpath. I've been searching for any 
examples on this on the web for a while but haven't been able to find any 
good one.  Any help would be really appreciated!

Thanks a lot,
Carlos


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]