New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32948 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

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.

comment:3 Changed 16 months ago by mparchet@…

  • Cc mparchet@… added

Cc Me!

comment:4 Changed 16 months ago by mparchet@…

Hi,

I Have the same problem

Best regards

mparchet

comment:5 Changed 16 months ago by mparchet@…

  • Status changed from closed to reopened
  • Resolution duplicate deleted

comment:6 Changed 16 months ago by michaelld@…

  • Status changed from reopened to closed
  • Resolution set to fixed

FIxed in r89263.

Note: See TracTickets for help on using tickets.