On Wed, Nov 20, 2024 at 06:57:11PM +0000, Gavin Smith wrote:
> I don't know, would it be possible to load libtexinfo and libtexinfoxs
> directly with Texinfo::XSLoader before loading any other modules?
> Then these libraries are in the "address space" of the perl process and
> shouldn't need to be loaded again.  I am going to try to do this as it
> seems like it could be an easy fix.

This does indeed seem like a possibility.  When I patch Texinfo/XSLoader.pm
to add the lines:

BEGIN {
if (1) {
        
DynaLoader::dl_load_file("/home/gavin/texinfo-7.1.91/build/tp/Texinfo/XS/.libs/libtexinfo.so.0.0");
        
DynaLoader::dl_load_file("/home/gavin/texinfo-7.1.91/build/tp/Texinfo/XS/.libs/libtexinfoxs.so.0.0");
}
}

the XS modules all load fine.

Reply via email to