Opened 12 years ago

Closed 12 years ago

#34284 closed defect (invalid)

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

Reported by: mkae (Marko Käning) Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: pixilla (Bradley Giesbrecht), nerdling (Jeremy Lavergne), michaelld (Michael Dickens)
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 (13)

comment:1 Changed 12 years ago by mkae (Marko Käning)

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 12 years ago by mkae (Marko Käning)

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 12 years ago by mkae (Marko Käning)

Cc: pixilla@… snc@… added

comment:4 Changed 12 years ago by mkae (Marko Käning)

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 12 years ago by mkae (Marko Käning)

Port: kdelibs4 added

comment:6 Changed 12 years ago by mkae (Marko Käning)

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 12 years ago by mkae (Marko Käning)

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 12 years ago by mkae (Marko Käning)

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

comment:9 Changed 12 years ago by mkae (Marko Käning)

Summary: kmymoney4(-devel) doesn't run due to phononkmymoney4(-devel) can't find phonon 4.6.0 library

comment:10 Changed 12 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:11 Changed 12 years ago by mkae (Marko Käning)

Cc: michaelld@… added; mk@… removed

comment:12 Changed 12 years ago by mkae (Marko Käning)

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 years ago by mkae (Marko Käning)

Resolution: invalid
Status: newclosed

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.