[MacPorts] #64699: libdeflate @1.10: Wrong library install_name
MacPorts
noreply at macports.org
Sat Feb 19 17:30:35 UTC 2022
#64699: libdeflate @1.10: Wrong library install_name
------------------------+-------------------------
Reporter: ryandesign | Owner: nickblack@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: libdeflate
------------------------+-------------------------
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
--
Ticket URL: <https://trac.macports.org/ticket/64699>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list