New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34284 (closed defect: invalid)

Opened 13 months ago

Last modified 12 months ago

kmymoney4(-devel) can't find phonon 4.6.0 library

Reported by: mk@… Owned by: mk@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: pixilla@…, snc@…, michaelld@…
Port: kdelibs4, kmymoney4, kmymoney4-devel,phonon

Description

This is what I get when I try to run current installs of KDE4 version of KMyMoney

$ /opt/macports-test/Applications/KDE4/kmymoney.app/Contents/MacOS/kmymoney
dyld: Library not loaded: lib/libphonon.4.dylib
  Referenced from: /opt/macports-test/Applications/KDE4/kmymoney.app/Contents/MacOS/kmymoney
  Reason: image not found
Trace/BPT trap
$ port installed phonon
The following ports are currently installed:
  phonon @4.6.0_0 (active)

although phonon should be installed fine.

Change History

comment:1 Changed 13 months ago by mk@…

My workaround for now is calling KMM using this

$ DYLD_FALLBACK_LIBRARY_PATH=/opt/macports-test/lib /opt/macports-test/Applications/KDE4/kmymoney.app/Contents/MacOS/kmymoney

comment:2 Changed 13 months ago by mk@…

I just see that another install with the prefix /opt/clean-slate doesn't work with the above workaround:

$ DYLD_FALLBACK_LIBRARY_PATH=/opt/clean-slate/lib /opt/clean-slate/Applications/KDE4/kmymoney.app/Contents/MacOS/kmymoney
dyld: Library not loaded: /opt/clean-slate/lib/libphonon.4.dylib
  Referenced from: /opt/clean-slate/lib/libkhtml.5.dylib
  Reason: Incompatible library version: libkhtml.5.dylib requires version 4.4.0 or later, but libphonon.4.dylib provides version 4.0.0
Trace/BPT trap
$ port installed phonon
The following ports are currently installed:
  phonon @4.6.0_0 (active)

:-(

comment:3 Changed 13 months ago by mk@…

  • Cc pixilla@…, snc@… added

comment:4 Changed 13 months ago by mk@…

I've found an old ML thread from Nov 2010 titled "kdelibs4 + (again a) PHONON issue [was KDE4 issue]" which made clear that the issue with libkhtml is due to kdelibs4.

I uninstalled all kdelibs4 stuff using

sudo port uninstall -follow-depenents kdelibs4

and reinstalled kmymoney4 and then ran the latter SUCCESSFULLY.

So it looks like kdelibs4 needs a revbump'''

comment:5 Changed 13 months ago by mk@…

  • Port changed from kmymoney4, kmymoney4-devel,phonon to kdelibs4, kmymoney4, kmymoney4-devel,phonon

comment:6 Changed 13 months ago by mk@…

I only now notice that I am running an updated version of phonon due to that I am test-running qt4-mac-devel.

So, after upgrading phonon I should have revbumped kdelibs4 myself.

I'll mark this as fixed as soon as my installation with the prefix /opt/macports-test shows the same positive result like /opt/clean-slate.

So, this seems to be a no-issue, luckily! :-)

comment:7 Changed 13 months ago by mk@…

Hmm, just noticing that it is also for the 2nd case still an issue if I leave away the fallback path:

$ /opt/clean-slate/Applications/KDE4/kmymoney.app/Contents/MacOS/kmymoney
dyld: Library not loaded: lib/libphonon.4.dylib
  Referenced from: /opt/clean-slate/Applications/KDE4/kmymoney.app/Contents/MacOS/kmymoney
  Reason: image not found
Trace/BPT trap

So, I consequently don't expect a better result for the other MP installation anymore.

The question is now what can be done to let the app find the library w/o the need to specify DYLD_FALLBACK_LIBRARY_PATH ...


comment:8 Changed 13 months ago by mk@…

Yep, as to be expected, the 1st installation also fails to find the library.

comment:9 Changed 13 months ago by mk@…

  • Summary changed from kmymoney4(-devel) doesn't run due to phonon to kmymoney4(-devel) can't find phonon 4.6.0 library

comment:10 Changed 13 months ago by mk@…

  • Cc mk@… added

Cc Me!

comment:11 Changed 13 months ago by mk@…

  • Cc michaelld@… added; mk@… removed

comment:12 Changed 12 months ago by mk@…

The reason for this is that dylib do not contain the correct library location. An improved portfile for phonon is in the works.

comment:13 Changed 12 months ago by mk@…

  • Status changed from new to closed
  • Resolution set to invalid

Since this problem did not occur with MacPorts' current version of phonon and an upgrade to 4.6.0 is being worked on these days I'll mark this resolved.

Note: See TracTickets for help on using tickets.