Ticket #32948 (closed defect: fixed)
liblastfm is not correctly linked during build process
| Reported by: | blender3dartist@… | Owned by: | michaelld@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | mparchet@… | |
| Port: | liblastfm |
Description
Calling liblastfm.0.dylib (via Amarok) fails and crashes Amarok, because it tries to reference:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_liblastfm/liblastfm/work/destroot/opt/local/lib/liblastfm.0.dylib
otooling it provides the same path output.
otool -L opt/local/lib/liblastfm.0.dylib
/opt/local/lib/liblastfm.0.dylib: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_liblastfm/liblastfm/work/destroot/opt/local/lib/liblastfm.0.dylib (compatibility version 0.3.0, current version 0.3.3)
The problem can be fixed (for 1 install) using install_name_tool.
sudo install_name_tool -id /opt/local/lib/liblastfm.0.dylib /opt/local/lib/liblastfm.0.dylib
(Thanks goes to neverpanic for helping me out.)
Change History
comment:1 Changed 16 months ago by ryandesign@…
- Cc michaelld@…, openmaintainer@… removed
- Owner changed from macports-tickets@… to michaelld@…
comment:2 Changed 16 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to duplicate
Duplicate of #32675.
Note: See
TracTickets for help on using
tickets.

