[MacPorts] #23284: qt4-mac on Tiger: can't open dynamic library: /opt/local/libexec/qt4-mac/lib/libQtCLucene.4.dylib

MacPorts noreply at macports.org
Thu Apr 1 04:52:50 PDT 2010

#23284: qt4-mac on Tiger: can't open dynamic library:
 Reporter:  mcmeijer@…          |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  assigned               
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:  1.8.2                  
 Keywords:  tiger               |        Port:  qt4-mac                
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => ryandesign@…
  * status:  new => assigned
 * cc: ryandesign@… (removed)


 Replying to [comment:8 ryandesign@…]:
 > I am hoping we can fix this with a little DYLD_LIBRARY_PATH magic.
 Ah, no. Forget that. This is what's really going on:

 Assistant (and a few other pieces) use QtHelp.framework, and therefore the
 Makefiles specify "`-framework QtHelp`". The problem is QtHelp.framework
 needs libQtCLucene.dylib, but the Makefiles don't specify "`-lQtCLucene`".
 Leopard and later figure this out on their own somehow, but Tiger needs it
 given explicitly. The build system in use here is too complex for me to
 wade through at the moment, but the simple fix we can employ is to modify
 the Makefiles after the fact and add "`-lQtCLucene`" everywhere we find
 "`-framework QtHelp`". I've committed this fix in r65819; I'll wait to
 close this ticket until I verify the build succeeds on my two Tiger

 This problem was also the cause of
 [http://bugreports.qt.nokia.com/browse/QTBUG-7697 upstream bug 7697] but
 they didn't figure out why it was happening; I'll have to let them know.

Ticket URL: <http://trac.macports.org/ticket/23284#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list