Changes between Version 1 and Version 2 of Ticket #62797, comment 1
- Timestamp:
- May 3, 2021, 1:36:06 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62797, comment 1
v1 v2 9 9 but -- it appears to be not changing the reference to libMacportsLegacySupport.dylib in libMacportsLegacySystem.B.dylib. 10 10 11 We probably need one more install_name_tool step in the Makefile, but I will have to build it myself to see if that is so. 11 Mine look OK: 12 {{{ 13 $ port contents legacy-support | grep dylib | xargs ls -la 14 -rwxr-xr-x 1 root admin 67576 26 Apr 11:25 /opt/local/lib/libMacportsLegacySupport.dylib 15 -rwxr-xr-x 1 root admin 67576 26 Apr 11:25 /opt/local/lib/libMacportsLegacySystem.B.dylib 12 16 13 The command should look something like this (for your prefix, untested so far):14 17 15 {{{ 16 sudo install_name_tool -change @executable_path/../lib/libMacportsLegacySupport.dylib /opt/MacPorts/lib/libMacportsLegacySupport.dylib /opt/MacPorts/lib/libMacportsLegacySystem.B.dylib 18 $ port contents legacy-support | grep dylib | xargs otool -L 19 /opt/local/lib/libMacportsLegacySupport.dylib: 20 /opt/local/lib/libMacportsLegacySupport.dylib (compatibility version 1.0.0, current version 1.0.0) 21 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) 22 /opt/local/lib/libMacportsLegacySystem.B.dylib: 23 /opt/local/lib/libMacportsLegacySystem.B.dylib (compatibility version 1.0.0, current version 1.0.0) 24 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) 17 25 }}}