[MacPorts] #59794: ld64: dyld: Library not loaded: /opt/local/libexec/llvm-3.9/lib/libLTO.dylib

MacPorts noreply at macports.org
Mon Feb 10 15:28:22 UTC 2020


#59794: ld64: dyld: Library not loaded:
/opt/local/libexec/llvm-3.9/lib/libLTO.dylib
------------------------+----------------------
  Reporter:  lpagani91  |      Owner:  jeremyhu
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.2
Resolution:  fixed      |   Keywords:
      Port:  ld64       |
------------------------+----------------------

Comment (by kencu):

 We have moved on to a new issue causing breakage for you:
 {{{
 :info:build clang++: scipy/fft/_pocketfft/pypocketfft.cxx
 :info:build scipy/_lib/_uarray/_uarray_dispatch.cxx:109:1: error: thread-
 local storage is not supported for the current target
 :info:build thread_local std::unordered_map<
 :info:build ^
 }}}
 Nobody promises there can be only one issue :>

 The {{{/usr/bin/clang}}} that comes with macOS 10.10 is quite dated, and
 does not support {{{thread_local}}}. This is a different problem, should
 be a new ticket. Surprisingly, I don't see an open ticket for this issue
 already.  The Portfile will need to be updated to reflect this.

 For now the way to move past this error (and hopefully there will be no
 more, but no promises!) is to force the use of a newer compiler.  The
 following steps usually will work:
 {{{
 sudo port clean py36-scipy
 sudo port -v install clang-9.0
 sudo port -v install py36-scipy configure.compiler=macports-clang-9.0
 }}}

 Best of luck!

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


More information about the macports-tickets mailing list