[MacPorts] #32948: liblastfm is not correctly linked during build process
MacPorts
noreply at macports.org
Thu Jan 19 13:47:51 PST 2012
#32948: liblastfm is not correctly linked during build process
---------------------------------------+------------------------------------
Reporter: blender3dartist@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: liblastfm
---------------------------------------+------------------------------------
Calling liblastfm.0.dylib (via Amarok) fails and crashes Amarok, because
it tries to reference:[[BR]]
{{{
/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.)
--
Ticket URL: <https://trac.macports.org/ticket/32948>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list