On Mon, Nov 06, 2023 at 06:46:02PM +0100, Andreas Schwab wrote:
> On Nov 06 2023, [email protected] wrote:
> 
> > It is pkglibdir.  Would be easy to change Makefile.am to put them there,
> > but are we sure that the linker will find them when the dlopened *XS
> > files are loaded by perl?
> 
> libtool adds an rpath when linking against it.

After changing the installation location of libtexinfo.so.0, this is
indeed so:

$ 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.


Reply via email to