[MacPorts] #69725: odin @0.2024.01: Library not loaded: @rpath/libc++.1.dylib; Reason: no LC_RPATH's found

MacPorts noreply at macports.org
Fri Apr 12 23:14:30 UTC 2024


#69725: odin @0.2024.01: Library not loaded: @rpath/libc++.1.dylib; Reason: no
LC_RPATH's found
-----------------------+------------------------
  Reporter:  kwolcott  |      Owner:  mohd-akram
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  odin      |
-----------------------+------------------------

Comment (by kencu):

 Does this software try to link in some LLVM libraries?

 This is a common problem noted when some port tries to link in the LLVM
 libraries and finds a copy of libc++ in there too.

 You almost never want that copy of libc++ found there.

 Homebrew created a subdirectory for libc++ moved it and libc++abi, and
 friends, in there to prevent this from happening.

 I believe I suggested to Chris that MacPorts do the same, but (IIRC) he
 didn't see the problem the same way at that time and decided to leave it.
 I don't have time right now to find that old discussion to exhume the
 corpse on it.

 You probably should not try to change the clang ports to not use @rpaths.
 They need to use them or bad things happen. The clang ports were changed
 to use @rpaths to get past a bunch of tickets that were occurring when
 they did not use @rpaths.

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


More information about the macports-tickets mailing list