Opened 14 years ago
Closed 14 years ago
#25121 closed defect (invalid)
Cannot launch kmymoney2 - dyld: Library not loaded: /opt/local/lib/libjpeg.7.dylib
Reported by: | forums@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), mkae (Marko Käning), pixilla (Bradley Giesbrecht) | |
Port: | kdelibs3 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When I try to launch my compiled port for kmymoney2, it fails with the following error:
strewth:opt jeffery$ kmymoney2 dyld: Library not loaded: /opt/local/lib/libjpeg.7.dylib Referenced from: /opt/local/lib/libkhtml.4.dylib Reason: image not found Trace/BPT trap
Any ideas what I need to do to fix this linking error?
Change History (13)
comment:1 Changed 14 years ago by forums@…
Cc: | forums@… added |
---|
comment:2 follow-up: 5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; forums@… removed |
---|---|
Description: | modified (diff) |
Keywords: | kmymoney2 libjpeg removed |
Don't forget WikiFormatting. You don't need to Cc yourself.
There is no port kmymoney2... There is a port kmymoney...
Looks like whatever port provides libkhtml.4.dylib is still linking with libjpeg.7.dylib, and needs a revision bump to force it to re-link with libjpeg.8.dylib. Can you use
port provides /opt/local/lib/libkhtml.4.dylib
to tell us what port that is so we can increase its revision to force the rebuild?
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | kmymoney added; kmymoney2 removed |
---|
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Cc: | mk-macports@… brad@… added |
---|
comment:5 Changed 14 years ago by pixilla (Bradley Giesbrecht)
Replying to ryandesign@…:
Looks like whatever port provides libkhtml.4.dylib is still linking with libjpeg.7.dylib, and needs a revision bump to force it to re-link with libjpeg.8.dylib. Can you use
port provides /opt/local/lib/libkhtml.4.dylib
to tell us what port that is so we can increase its revision to force the rebuild?
kdelibs3
comment:6 follow-up: 12 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:7 Changed 14 years ago by mkae (Marko Käning)
It looks like one needs to specify the correct kdelibs3 version in kmymoney's Portfile?!
comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Huh? There is no way to specify a version of a port in a dependency.
comment:9 follow-up: 10 Changed 14 years ago by mkae (Marko Käning)
Really? Oh, I guess this is a must in a situation like this. If a user has a too old kdelibs3 one cannot shift it to the user and let her/him figure out what has to be done to get a port built...
What can be done about this?
comment:10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
MacPorts doesn't have the infrastructure to let a user install any arbitrary version of a port. The user can only install the current version of the port. (There are instructions in the wiki for installing an older version, but that's more of a workaround and not really part of MacPorts as such, and not something most users should need to use at all.)
When jpeg was updated to version 8, all of its dependents were revbumped so that the user would be informed (via "port outdated") that they need to be rebuilt (to link with the new version of the jpeg library).
Jeffery, does kdelibs3 show up in the output of "port outdated" for you? If so, then just upgrade it and any other outdated ports as per usual (e.g. "sudo port upgrade kdelibs3"). If kdelibs3 does not show up in "port outdated", do you have any idea why your kdelibs3 is not already linked with jpeg 8? Did you deliberately downgrade any of your ports at any time for example?
comment:11 Changed 14 years ago by mkae (Marko Käning)
Yep, you are right, normally this should not have happened if Jeffery would have upgraded his installation accordingly.
comment:12 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:13 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | kdelibs3 added; kmymoney removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Closing due to lack of response. If rebuilding kdelibs3 did not solve this problem please let us know.
Cc Me!