libgcj/201: error loading shared library, undefined symbol __dso_handle
Bryce McKinlay
bryce@albatross.co.nz
Sat Apr 15 20:16:00 GMT 2000
The following reply was made to PR libgcj/201; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: "Robert A . French" <rfrench99@bigfoot.com>,
java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: libgcj/201: error loading shared library, undefined symbol
__dso_handle
Date: Sun, 16 Apr 2000 15:04:38 +1200
"Robert A . French" wrote:
> nm /usr/local/lib/libzgcj.so.0 | grep dso:
> 0000c920 d __dso_handle
>
> Apparently that lower case 'd' is a bad thing, should be upper case.
> Don't know how/why it's like that.
Right. On my system it is upper case:
$ nm /usr/local/gcc/lib/libgcj.so.1 | grep dso
001672a0 D __dso_handle
I don't know why its different on your system. Perhaps an obscure compiler in
the particular snapshot your using? Or a linker/assember bug/incompatibilty?
There was a change to this recently:
2000-04-04 Ulrich Drepper <drepper@cygnus.com>
* acconfig.h: Add HAVE_GAS_HIDDEN.
* config.in: Regenerated.
* configure.in: Add test for .hidden pseudo-op in gas.
* configure: Regenerated.
* crtstuff.c: Include auto-host.h.
Emit additional .hidden pseudo-op for __dso_handle if the
assembler knows about it.
I'm using binutils binutils-2.9.5.0.22-6, FWIW.
regards
[ bryce ]
More information about the Java-prs
mailing list