This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem with shared libraries
- To: gcc-help at gcc dot gnu dot org
- Subject: Problem with shared libraries
- From: "Arun Saini , Gurgaon" <arun at ggn dot hcltech dot com>
- Date: Tue, 26 Jun 2001 21:59:30 +0530
- Cc: gcc at gcc dot gnu dot org
hi all,
I have a problem while using shared libraries. I have built a shared library
(say test.so) that used xml4c shared library (libxerces-c1_3.so) available
from alphaworks. This library (test.so) built successfuly. Now when I try to
use this test.so from an application. I compile the test application using
g++ and it compiles successfuly. When I try linking it with the test.so and
with libxerces-c1_3.so it gives and error saying it found undefined
references to some symbols in test.so which infact are all available in
libcerces-c1_3.so. I tried the -rdynamic flag and the grouping of libraries
for recursive search (using --add-group, --end-group) etc but to no success.
Any ideas why this is happening.....
Arun Saini