Re: lt_dlopen an uninstalled library

2021-11-25 Thread Bob Friesenhahn
On Thu, 25 Nov 2021, ilya Basin wrote: Loading modules is an extremely security-sensitive issue so it makes sense to require that the specified path be absolute I agree. Actually I haven't told the whole truth. My goal was to [mis]use libtool to load dynamically a regular library that is

Re: lt_dlopen an uninstalled library

2021-11-25 Thread ilya Basin
> Loading modules is an extremely security-sensitive issue so it makes sense to > require that the specified path be absolute I agree. Actually I haven't told the whole truth. My goal was to [mis]use libtool to load dynamically a regular library that is supposed to be in /usr/lib/ on Unix and

Re: lt_dlopen an uninstalled library

2021-11-24 Thread Bob Friesenhahn
On Thu, 25 Nov 2021, ilya Basin wrote: Hi Bob. I configured the GM build with '--with-modules', ran `make check` successfully. Then truncated the built .so files inside the 'coders/' dir to break it. Then reproduced the failure in gdb [il@reallin GM]$ export

Re: lt_dlopen an uninstalled library

2021-11-24 Thread ilya Basin
Hi Bob. I configured the GM build with '--with-modules', ran `make check` successfully. Then truncated the built .so files inside the 'coders/' dir to break it. Then reproduced the failure in gdb [il@reallin GM]$ export

Re: lt_dlopen an uninstalled library

2021-11-23 Thread Roumen Petrov
Hi ilya, ilya Basin wrote: Hi List. I'm making a program with plugins as shared libraries and when I run `make check` I want my program to load the uninstalled plugins using lt_dlopen(). I expected that passing `-dlopen libname.la` to libtool would force the generation of a wrapper script

Re: lt_dlopen an uninstalled library

2021-11-23 Thread Bob Friesenhahn
On Mon, 22 Nov 2021, ilya Basin wrote: Hi List. I'm making a program with plugins as shared libraries and when I run `make check` I want my program to load the uninstalled plugins using lt_dlopen(). I expected that passing `-dlopen libname.la` to libtool would force the generation of a

Re: lt_dlopen an uninstalled library

2021-11-22 Thread Luke Mewburn
On 21-11-22 23:33, ilya Basin wrote: | Hi List. | I'm making a program with plugins as shared libraries and when I run | `make check` I want my program to load the uninstalled plugins using | lt_dlopen(). | | I expected that passing `-dlopen libname.la` to libtool would force | the

lt_dlopen an uninstalled library

2021-11-22 Thread ilya Basin
Hi List. I'm making a program with plugins as shared libraries and when I run `make check` I want my program to load the uninstalled plugins using lt_dlopen(). I expected that passing `-dlopen libname.la` to libtool would force the generation of a wrapper script setting the proper