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]

Problem with shared libraries


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


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