[MacPorts] #58813: clang-8.0 missing library
MacPorts
noreply at macports.org
Sat Aug 10 02:32:49 UTC 2019
#58813: clang-8.0 missing library
------------------------+-----------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: clang-8.0
------------------------+-----------------------
MacOS Mojave 10.14.6, Xcode-10.3, current Macports.
{{{
$ port installed clang-8.0
The following ports are currently installed:
clang-8.0 @8.0.0_0+analyzer+assertions+libstdcxx (active)
$ sudo port select --set clang mp-clang-8.0
$ [configure and build asn1c from https://github.com/mouse07410/asn1c.git]
. . . . .
FAIL: check_unber.sh
====================
dyld: Library not loaded:
/opt/local/libexec/llvm-8.0/lib/libclang_rt.asan_osx_dynamic.dylib
Referenced from: /Users/ur20980/src/asn1c-
new/asn1-tools/unber/./check_unber
Reason: image not found
./check_unber.sh: line 9: 78451 Abort trap: 6 env
${ASAN_ENV_FLAGS:-} ${builddir}/check_unber -timeout=3
-max_total_time=${FUZZ_TIME} -max_len=500
FAIL check_unber.sh (exit status: 134)
}}}
As you can see, library
{{{/opt/local/libexec/llvm-8.0/lib/libclang_rt.asan_osx_dynamic.dylib}}}
not found, because it does not exist where the linker thought. It's
located in
{{{
/opt/local/libexec/llvm-8.0/lib/clang/8.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
}}}
instead.
I do not know whether clang is responsible for this problem, or llvm is.
--
Ticket URL: <https://trac.macports.org/ticket/58813>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list