Opened 12 years ago

Closed 12 years ago

#32948 closed defect (fixed)

liblastfm is not correctly linked during build process

Reported by: blender3dartist@… Owned by: michaelld (Michael Dickens)
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 (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… openmaintainer@… removed
Owner: changed from macports-tickets@… to michaelld@…

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #32675.

comment:3 Changed 12 years ago by mparchet@…

Cc: mparchet@… added

Cc Me!

comment:4 Changed 12 years ago by mparchet@…

Hi,

I Have the same problem

Best regards

mparchet

comment:5 Changed 12 years ago by mparchet@…

Resolution: duplicate
Status: closedreopened

comment:6 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: reopenedclosed

FIxed in r89263.

Note: See TracTickets for help on using tickets.