[MacPorts] #70404: llvm-18: libLLVM.dylib not loaded at runtime

MacPorts noreply at macports.org
Fri Jul 19 21:45:06 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 ryandesign):

 Replying to [comment:9 sletz]:
 > ==> So I understand that the link with LLVM is static with llvm-17, and
 dynamic with llvm-18 ?

 That is not the conclusion I reach.

 With your llvm 18 log, I see `-L/opt/local/libexec/llvm-18/lib` and
 `-lLLVM-18` hence libLLVM gets linked in and somebody has to tell the
 linker what `@rpath` should expand to (namely
 /opt/local/libexec/llvm-18/lib).

 With your llvm 17 log, I see `-L/opt/local/libexec/llvm-17/lib` but no
 `-LLLVM-17` hence it is not linked in hence there is no problem with its
 rpath.

 By the way we do have a very out-of-date port for faust that I have
 neglected for years. If you or anybody wants to help update it that would
 be great.

-- 
Ticket URL: <https://trac.macports.org/ticket/70404#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list