This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Library link problem
- From: Carlos Rubio <crubion at cirsa dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 17 Dec 2002 10:56:17 +0100
- Subject: Library link problem
- Organization: CIRSA
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