Hi, there,

I encountered a strange problem with lt_dlopenext

I am installing a software. At running time, the software should load some plugins using lt_dlopenext but always failed. I traced the program and found that the parameter to lt_dlopenext should be correct but calling the function returns error. Does anyone know what's going on?

To be precise, the software reads from a config file about the plugin, whose name is like "myplugin". The parameter to lt_dlopenext is change to the full path like "/projects/my/lib/myplugin" and there exist files /projects/my/lib/myplugin.a
/projects/my/lib/myplugin.la
/projects/my/lib/myplugin.so
/projects/my/lib/myplugin.so.1
/projects/my/lib/myplugin.so.1.0.0

The problem appeared when I installed the software on public machines under a local directory, configure'd with --prefix=/projects/my When I installed it on my laptop, where the default /usr/local directory is used, there is no problem. However, I cannot possibly get root access on public machines, where people will use it. Even if I could, it would not be installed under the default path.

When compiling the software, libtool version is 1.5.22

Thanks.
Yaxin


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to