Opened 3 years ago

Closed 2 years ago

#64699 closed defect (fixed)

libdeflate @1.10: Wrong library install_name

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dankamongmen (nick black)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: herbygillot (Herby Gillot)
Port: libdeflate

Description

The libdeflate port installs an unusable libdeflate.0.dylib in that its install_name has not been set to the absolute path where it is installed:

$ port provides /opt/local/lib/libdeflate.0.dylib
/opt/local/lib/libdeflate.0.dylib is provided by: libdeflate
$ otool -L /opt/local/lib/libdeflate.0.dylib
/opt/local/lib/libdeflate.0.dylib:
	libdeflate.0.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

leading of course to a failure to be able to run anything that links with the library, for example an upcoming update of Aseprite that I'm working on:

$ /Applications/MacPorts/Aseprite.app/Contents/MacOS/Aseprite
dyld: Library not loaded: libdeflate.0.dylib
  Referenced from: /Applications/MacPorts/Aseprite.app/Contents/MacOS/Aseprite
  Reason: image not found
Abort trap: 6

This is a bug in the Makefile so I also reported it upstream: https://github.com/ebiggers/libdeflate/issues/167

Change History (1)

comment:1 Changed 2 years ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

In 9335b092bb8757abc297ee51ef6e65cfd1057a78/macports-ports (master):

libdeflate: update to 1.11

  • drop shared_lib patch, merged upstream

Fixes: #64699

Note: See TracTickets for help on using tickets.