pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/rust still looks in /usr/pkg/



On Sat, Dec 12, 2020 at 02:56:27PM +0100, Havard Eidnes wrote:
> > What's the proper fix for this?
> 
> Frankly, I don't quite know.
> 
> I do know that patchelf from pkgsrc can be used to change the
> rpath in an elf executable, a'la
> 
> patchelf --force-rpath --set-rpath $RPATH $executable
> 
> However, that can at best be characterized as a workaround and
> not a "proper fix".  I welcome suggestions for how this should be
> done properly.
> 
> Regards,
> 
> - Håvard

What's wrong with using patchelf? The SmartOS bootstrap seems to do a
similar thing with elfedit.


Home | Main Index | Thread Index | Old Index