Thanks to Jeff for the following. Original question is below.
- Michael
> I think you are linking with old libcxx.so in /usr/lib and the
> newer one is in /usr/lib/cmplrs/cxx/libcxx.so (or on v5.0a
> systems) that is needed for the newer compiler.
>
> On your v4.0f, you should see it if you try this:
>
> nm /usr/lib/cmplrs/cxx/libcxx.so | grep __cxx_call_static_dtors
>
> Make sure that your link line puts /usr/lib/cmplrs/cxx/ before
> /usr/lib. I believe that the cxx driver should do this for you,
> if you are using it for the link.
>
> Hope it helps...
> -Jeff
------ original question ------
Hi all,
I upgraded the C++ on our v4.0f (V4.0 1229 alpha) system
from 6.1 to 6.2 but have run into a unresolved symbol
problem on any shared library subsequently produced
by the new compiler. That is, when I build a shared
library and then try to run an executable which uses the
library I get:
Unresolved symbol in libjapi.so: __cxx_call_static_dtors
where libjapi.so is the shared library. An "nm" on
/usr/shlib/libcxx.so (and /usr/ccs/lib/libcxx.a) shows
that this symbol is definately not present. However, the
symbol is present in the libraries on our v5.0a system (and
the shared library build and runs OK).
Any ideas as to what the problems is. I upgraded to 6.2
via setld after first uninstalling 6.1.
Any help much appreciated.
- Michael
Received on Wed Jul 26 2000 - 19:37:42 NZST