https://bugzilla.novell.com/show_bug.cgi?id=690952
https://bugzilla.novell.com/show_bug.cgi?id=690952#c6
--- Comment #6 from Stanislav Brabec 2011-05-13 14:53:49 CEST ---
On my machine, even x86_64 packages exhibit the problem and three modules fail
to load.
I found an apparent linking definition bug in the codeblocks code: Libraries in
src/plugins/contrib/wxSmith/wxwidgets apparently use wxWidgets, but they don't
define dependency on wxWidgets. They include reference to
src/sdk/libcodeblocks.la which link to wxWidgets. As the consequence,
references to wxWidgets are evaluate correctly (it links even with a strict
-no-undefined linking policy), but the linking infrastructure (libtool & co.)
don't pass the required -rpath.
As a consequence, these libraries are not able to find wxWidgets libraries.
Here is my theory, why it exhibits problem only with -as-needed: The whole
application probably links with all wxWidgets libraries without -as-needed. The
library module inherits references to wxWidgets from the application. With
-as-needed this does not happen.
I have to check, whether it is only a bug of codeblocks (which is apparent),
wxWidgets (extra option needed for -rpath inheritance?) or even libtool.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.