On Mon, Nov 06, 2023 at 07:52:40PM +0100, Andreas Schwab wrote:
> On Nov 06 2023, Gavin Smith wrote:
> 
> > $ readelf -d /usr/local/lib/texinfo/ConvertXS.so | grep RUNPATH
> >  0x000000000000001d (RUNPATH)            Library runpath: 
> > [/usr/local/lib/texinfo]
> >
> > It still seems to be checking the other locations first, though.
> 
> Unlike DT_RPATH, DT_RUNPATH does not override LD_LIBRARY_PATH.

(Link to archived message:
<https://lists.gnu.org/archive/html/bug-texinfo/2023-11/msg00047.html>.)

If I unset LD_LIBRARY_PATH on my system, I don't have the issue any more.

The "ld.so" man page says that DT_RPATH is deprecated.  (I also
found various old mailing list messages saying the same thing.)

This may be a PEBKAC on my side, as I shouldn't have LD_LIBRARY_PATH
set as a matter of course.

https://lists.gnu.org/archive/html/libtool/2017-05/msg00001.html
https://lists.gnu.org/archive/html/libtool/2007-10/msg00056.html


Reply via email to