This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Symbol versioning problem? Different versions of same symbol being called.
On Thu, Jan 24, 2002 at 10:29:32AM -0800, H . J . Lu wrote:
> I know why. All threaded applications, include shared libraries, have
> to be linked against -lpthread. Otherwise, you won't get the right
> symbol version.
Excellent! :)
Yes, that must be it...
Hmmpf, then this is thus a bug of g++ (that should add -lpthread when
given -pthread and -shared) or otherwise of libtool.
Thanks!
--
Carlo Wood <carlo@alinoe.com>