MacPorts 2.7.0 has been released

Ryan Schmidt ryandesign at
Fri May 21 04:15:50 UTC 2021

On May 20, 2021, at 17:22, raf wrote:
> When I disable /usr/lib/libsqlite3.dylib by renaming it,
> the error changes to a symbol lookup failure:
>> port help
>  dlopen(/opt/local/libexec/macports/lib/macports1.0/MacPorts.dylib, 6): can't resolve symbol _kDADiskDescriptionMediaBSDNameKey in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation because dependent dylib #2 could not be loaded in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
>      while executing
>  "load /opt/local/libexec/macports/lib/macports1.0/MacPorts.dylib"
>      ("package ifneeded macports 1.0" script)
>      invoked from within
>  "package require macports"
>      (file "/opt/local/bin/port" line 46)
> Oops. And now PAM/su/sudo are now broken. I shouldn't have done that. :-)

Correct. Don't modify things in /usr/lib or other locations reserved for use by Apple. OS X 10.11 and later will prevent you from doing so via System Integrity Protection. On earlier OS versions, you'll just have to remember not to touch those parts of the system.

More information about the macports-users mailing list