Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Absolute rpaths in some packages
To:
Karsten Pedersen <kpedersen@gmx.com>
Cc:
ports@openbsd.org
Date:
Thu, 18 Jul 2024 21:24:25 +0100

Download raw body.

Thread
On 2024/07/18 18:59, Karsten Pedersen wrote:
> I have been developing some software[1] (effectively a hack) that
> leverages the OpenBSD packages and creates standalone self contained
> prefixes / "bundles". Particularly useful for behemoths such as
> Firefox, Chromium, etc. In terms of updates, these guys drag in so
> much cruft, I kind of just prefer to blow them away and start from
> scratch anyway with a new i.e: /opt/chromium122

So you need to install multiple copies of a bunch of commom libraries?
This doesn't make a lot of sense to me.

> Through many of my cludges (mainly environment variables avoiding
> hard coded /usr/local paths but also some binary patching of
> rpaths[2]), I notice that a few libraries (and executables) built
> by ports have absolute rpaths. But this is rare suggesting it isn't
> really intended to be the norm. Is this something that should be
> reported to the respective port maintainer?

I don't think so.