[MacPorts] #58761: cmake 3.15.0: can't destroot on Lion
MacPorts
noreply at macports.org
Sat Jul 27 16:16:39 UTC 2019
#58761: cmake 3.15.0: can't destroot on Lion
-----------------------+-----------------------
Reporter: lemzwerg | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion
Port: cmake |
-----------------------+-----------------------
Comment (by kencu):
So on your system, that `libarchive` would be one you built yourself. The
only way it could have been linked against a `zstd` in `/usr/local/lib` is
that you must have had `zstd` installed from some other source (either
installed from a package, or you installed it from source yourself, or
homebrew installed it) to get it in `/usr/local/lib`. Then you build
MacPorts `libarchive` and it found that `zstd` to link against, and then
you later on deleted it.
I have a stock 10.7.6 system, and all is well there:
{{{
$ otool -L /opt/local/lib/libarchive.13.dylib
/opt/local/lib/libarchive.13.dylib:
/opt/local/lib/libarchive.13.dylib (compatibility version 17.0.0,
current version 17.3.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
current version 9.0.0)
/opt/local/lib/liblzo2.2.dylib (compatibility version 3.0.0,
current version 3.0.0)
/opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0,
current version 8.4.0)
/opt/local/lib/libzstd.1.dylib (compatibility version 1.0.0,
current version 1.3.8)
/opt/local/lib/liblz4.1.dylib (compatibility version 1.0.0,
current version 1.8.3)
/opt/local/lib/libcharset.1.dylib (compatibility version 2.0.0,
current version 2.0.0)
/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0,
current version 1.0.6)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.11)
/opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0,
current version 12.7.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.1.0)
}}}
So -- I would just triple check that `/usr/local` is totally empty. Then
make sure you have `zstd` installed `port -v installed zstd`.
And then unistall and reinstall `libarchive` to make it right:
{{{
sudo port -f uninstall libarchive
sudo port -v install libarchive
}}}
and you should get a clean version.
--
Ticket URL: <https://trac.macports.org/ticket/58761#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list