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

MacPorts noreply at macports.org
Fri Jul 19 20:40:00 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 sletz):

 This protest: https://github.com/grame-cncm/faust

 1) install llvm-18

 2) make developer

 3) link step of the "faust" binary :
 https://gist.github.com/sletz/57615fcaf886b972449e8bf28cb2e362

 4) runtime error when doing : build/bin/faust

 build/bin/faust
 dyld[74799]: Library not loaded: '@rpath/libLLVM.dylib'
   Referenced from: '/Users/letz/Developpements/faust/build/bin/faust'
   Reason: tried: '/Users/letz/Qt6/6.2.0/macos/lib/libLLVM.dylib' (no such
 file), '/usr/local/cuda/lib/libLLVM.dylib' (no such file),
 '/libLLVM.dylib' (no such file), '/opt/local/lib/libLLVM.dylib' (no such
 file), '/opt/local/lib/libLLVM.dylib' (no such file),
 '/usr/local/lib/libLLVM.dylib' (no such file), '/usr/lib/libLLVM.dylib'
 (no such file)

 5) otool -L build/bin/faust
 build/bin/faust:
         @rpath/libLLVM.dylib (compatibility version 1.0.0, current version
 18.1.8)
         /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current
 version 1300.36.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1319.0.0)

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


More information about the macports-tickets mailing list