ports and PBIs

Julian Elischer julian at elischer.org
Sun Apr 11 01:21:42 UTC 2010


On 4/10/10 5:43 PM, perryh at pluto.rain.com wrote:
> [dropped current@ since it doesn't take non-member posts]
>
> Tim Kientzle<kientzle at freebsd.org>  wrote:
>
>> The LD_LIBRARY_PATH issue is the most interesting
>> problem here.  I don't immediately see a solution that
>> doesn't include teaching ld-elf.so.1 about some form
>> of per-application library path.
>
> Maybe install PBI executables with a wrapper of some
> sort which would set LD_LIBRARY_PATH and exec the
> real executable, or build similar functionality into
> a specialized variant of /usr/lib/crt1.o (which BTW
> seems not to have a manpage)?
>
> Nah, that would be too easy.  There must be some lethal
> flaw in it.


PBIs already do something like this I believe.



More information about the freebsd-ports mailing list