Opened 10 years ago

Closed 10 years ago

#27292 closed defect (invalid)

libphonon not referenced by full path from libkhtml

Reported by: mkae (Marko Käning) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: libkhtml phonon Cc: sharky@…, michaelld (Michael Dickens)
Port: kdelibs4


At least on my system libkhtml tries to reference libphonon without specifying the full path:

[ MP-devel ] :~ marko$ /opt/macports-test/Applications/KDE4/
dyld: Library not loaded: libphonon.4.dylib
  Referenced from: /opt/macports-test/lib/libkhtml.5.dylib
  Reason: image not found
Trace/BPT trap

My current workaround is to call kmymoney4 like this:

DYLD_FALLBACK_LIBRARY_PATH=/opt/macports-test/lib /opt/macports-test/Applications/KDE4/

There are examples (#27205), though, of other systems where it works normally.

Change History (2)

comment:1 Changed 10 years ago by michaelld (Michael Dickens)

What do the following return:

otool -L /opt/macports-test/lib/libkhtml.5.dylib
port provides /opt/macports-test/lib/libkhtml.5.dylib

and, assuming that the libphonon file exists:

otool -L /opt/macports-test/lib/libphonon.4.dylib
port provides /opt/macports-test/lib/libphonon.4.dylib

comment:2 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: invalid
Status: newclosed

Built phonon with qt4-mac 4.7.0, which messes up the self-install name of libraries by default. This issue was fixed with qt4-mac 4.7.1. After upgrading qt4-mac, reinstalling phonon took care of this issue, but did raise a few others. We're discussing off-ticket, but I'm closing this ticket as invalid since it was really an upgrade issue.

Note: See TracTickets for help on using tickets.