How to fix duplicate rpath in existing library files

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Mon Dec 18 21:41:54 UTC 2023


Thanks, that seems to be working well.  I hope this can be made default, so
that we do not need to visit every port that makes a library and uses the
PG.  I do not know how widespread the LC_RPATH problem is.


On Mon, Dec 18, 2023 at 12:28 PM Kirill A. Korinsky <kirill at korins.ky>
wrote:

> If your port using compilers PG you may control it
> via compilers.add_gcc_rpath_support option.
>
> See:
> https://github.com/macports/macports-ports/commit/760f4f8df2b90a6e31bd960f9768bf086c35b19f
>
> --
> wbr, Kirill
>
> On 18. Dec 2023, at 20:08, Dave Allured - NOAA Affiliate via macports-dev <
> macports-dev at lists.macports.org> wrote:
>
> Now that the LC_RPATH issue is better understood, is there a simple way to
> fix a duplicate rpath in a Macports previously built library file?  Will a
> simple rev bump clear out the duplicate, or is a deeper approach needed?
>
> CI on OS13 keeps failing when it installs one of these pre-built
> libraries, because of the Xcode 15 linker.  The comment on one of those
> OpenBlas tickets has me hoping for a simple solution.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20231218/f383fc16/attachment.htm>


More information about the macports-dev mailing list