[MacPorts] #70404: llvm-18: libLLVM.dylib not loaded at runtime
MacPorts
noreply at macports.org
Sat Jul 20 08:38:26 UTC 2024
#70404: llvm-18: libLLVM.dylib not loaded at runtime
---------------------------------+--------------------
Reporter: sletz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: llvm-18 llvm-devel |
---------------------------------+--------------------
Comment (by cjones051073):
I think you need to pass the `--link-static` option with `--system-libs`
as well for it to work properly
{{{
Larissa ~/Projects/MacPorts/ports > /opt/local/libexec/llvm-18/bin/llvm-
config --link-static --system-libs
-lm -lz -lzstd -lcurses -lxml2
Larissa ~/Projects/MacPorts/ports > /opt/local/libexec/llvm-18/bin/llvm-
config --link-shared --system-libs
Larissa ~/Projects/MacPorts/ports > /opt/local/libexec/llvm-17/bin/llvm-
config --link-static --system-libs
-lm -lz -lzstd -lcurses -lxml2
Larissa ~/Projects/MacPorts/ports > /opt/local/libexec/llvm-17/bin/llvm-
config --link-shared --system-libs
llvm-config: error: libLLVM-17.dylib is missing
}}}
whether or not this behaviour is intentional or not I do not know.
--
Ticket URL: <https://trac.macports.org/ticket/70404#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list