[MacPorts] #37868: qt4-mac: ld: library not found for -ldbus-1

MacPorts noreply at macports.org
Thu Jan 31 08:19:38 PST 2013


#37868: qt4-mac: ld: library not found for -ldbus-1
--------------------------+-------------------------
 Reporter:  ryandesign@…  |      Owner:  michaelld@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.2
 Keywords:                |       Port:  qt4-mac
--------------------------+-------------------------
 qt4-mac fails to build on my Lion machine with Xcode 4.3.3.

 {{{
 ld: library not found for -ldbus-1
 }}}

 {{{
 $ clang -v
 Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
 Target: x86_64-apple-darwin11.4.2
 Thread model: posix
 }}}

 I suspect the problem is because this version of
 [https://lists.macosforge.org/pipermail/macports-
 dev/2011-August/015543.html clang does not honor CPATH or LIBRARY_PATH].

 If you don't have access to a machine with Lion and Xcode 4.3 to test
 with, you can also reproduce the problem by using MacPorts clang-2.9 or
 3.0 which experience the same issue.

 {{{
 sudo port build qt4-mac configure.compiler=macports-clang-3.0
 }}}

 If it's too difficult to fix qt4-mac to properly find dbus without CPATH
 and LIBRARY_PATH, you could use the compiler_blacklist_versions portgroup
 to blacklist these old versions of clang.

-- 
Ticket URL: <https://trac.macports.org/ticket/37868>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list