cannot link [against] shared libraries

Michalski, Rafał RMichalski@era.pl
Fri Jul 27 01:38:00 GMT 2001


After upgrading my compiler to 3.0,
I am no longer able to link against 
the Xerces XML parser shared library.
The same C++ program that linked well under 2.95.3
now produces unresolved symbols messages
about library symbols.

The reason for upgrade was 
to get rid of the compiler bug
when gdb cannot see variables declared
in nested scopes.

Building the library itself
is lo longer possible due to ld errors.

Are some extra options necessary in 3.0 to build/link against .so ?

My platforms are Slackware Linux 8.0
and Sparc Solaris 8.

Rafal Michalski



More information about the Gcc-help mailing list