@rpath in dylib

Clemens Lang cal at macports.org
Tue Jan 5 18:00:02 UTC 2021


Hi,

On Mon, Jan 04, 2021 at 01:32:48PM -0800, Ken Cunningham wrote:
> Many distros, including MacPorts, have avoided @rpath usage in their
> port trees except for certain circumstances (relocatable bundles,
> etc).
> 
> It’s hard to know just what library is being found to be used, and
> it’s hard to force a certain one to be used, for one of many reasons
> why @rpath is avoided.
> 
> Debian has written up a full article about why they don’t want to see
> @rpath usage in Debian:
> 
> https://wiki.debian.org/RpathIssue
> 
> MacPort’s explanations would be similar, if we wrote them all out.

Especially since there's a good alternative in dylibbundler. We're
explicitly supporting that by building all libs with
-headerpad_max_install_names.

-- 
Clemens


More information about the macports-users mailing list