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

MacPorts noreply at macports.org
Sat Apr 13 16:38:22 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):

 libc++ being installed with the clang port was done because the clang
 ports require the entire current c++ headers installed by the libcxx
 subproject, and installing all that is a one-liner in the configuration.
 So installing the headers that way was much easier than the previous
 option.

 I considered whether to delete the libc++ libraries from the installation
 -- but I left them as they were going to be useful for the macports-libcxx
 port anyway, and I thought they might be useful to have to experiment
 with.

 In retrospect, I would have moved them to subdirectory in the first place
 so they would not be opportunistically found. At the time I set this up
 all those years ago, it was not so clear to me that the libc++ libraries
 were going to be opportunistically found. It is clear now.

 If the libcxx subproject becomes yet another subport of llvm, all that
 means is another entire build process of clang to get the libcxx parts
 installed too. It could be done. It seems kinda pointless to force another
 whole build process just for that -- just move the libc++ libraries into
 the subfolder post-destroot, and we're done.

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


More information about the macports-tickets mailing list