Seems that Ubuntu and Debian have decided to change the way that ld
handles references to shared libraries. See:
https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
bad news indeed. I've worked around this and got a build to succeed using
LDFLAGS="-Wl,--no-as-needed"
which seems to restore the old behaviour, but it looks like the real
solution is one we've been avoiding for some years now, namely to identify
all the shared libraries that are necessary to resolve the symbols when
linking a shared library, so that each library ends up with links to the
libraries it depends on (this is the reason why the Cygwin build stopped
working).
Not offering to leap in at this, just keeping you all informed.
Cheers,
Peter.
(ps, I guess another question is whether this behaviour is heading our way
from RH etc. as well, I suspect yes if they start using GCC 4.6:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
)
|