#68 xca-0.9.0 fails because of underlinking (GNU gold linker)

closed-fixed
nobody
None
5
2011-07-06
2011-06-17
Samuli Suominen
No

Original bug: http://bugs.gentoo.org/show_bug.cgi?id=371887
Build log: http://bugs.gentoo.org/attachment.cgi?id=277205

With GNU gold linker, and propably also with normal GNU linker using -Wl,--no-add-needed (untested), xca-0.9.0 fails to link with undefined symbols.

The patch is simple. Just add search_lib for QtCore in configure file as well.

--- configure
+++ configure
@@ -121,6 +121,7 @@
######################### QT
subdirs="/qt /qt4"
search_includes QtCore/QObject || err "The QT Library headerfiles were not found. Set QTDIR appropriately."
+search_lib QtCore4 QtCore || err "The QT library was not found."
search_lib QtGui4 QtGui || err "The QT library was not found."
search_lib ltdl || err "Libtool ltdl not found."
search_lib c_r || true

Discussion

    • status: open --> pending-fixed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-fixed --> closed-fixed