#36339: -ldbus-1 not found during building of qt4-mac@4.8.3 -------------------------+------------------------- Reporter: bgschaid@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by bgschaid@…): Replying to [comment:5 michaelld@…]:
The "mp-clang-3.2" log file shows that MacPorts actually provided Apple's clang instead of MacPorts' clang. Go figure.
Sorry. Haven't checked that
Someone else using 10.8.2 and XCode 4.5.0's clang reports success compiling qt4-mac with that compiler; Qt 4.8 isn't meant to work with clang yet, but it might work. Hopefully Qt 5.0 will add mkspec files for clang for macx. In the mean time, hopefully upgrading to XCode 4.5.0's clang helped. In my initial testing, this version of clang seems to be working as expected.
Updated to XCode 4.5 (but still am on 10.7) and it still fails in the same way - can't find the jpeg and the tiff-library (although they're installed) - fails while linking dbus-1 I tried to trick the linking process by creating symolic links from the /opt/local/lib/libdbus* into /usr/lib but the error message stay the same. When I go to the build directory and hand-run the failing command the message stays the same. If I add -L/opt/local/lib it links without problems -- Ticket URL: <https://trac.macports.org/ticket/36339#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS