[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lt_dlopenadvise ignores advice

From: Bob Friesenhahn
Subject: Re: lt_dlopenadvise ignores advice
Date: Fri, 18 Apr 2008 11:08:41 -0500 (CDT)

On Fri, 18 Apr 2008, Anton Ertl wrote:
The program below is a variation of the my_dlopenext example from the
manual.  Calling it with the correct extension works, but calling it
without extension does not:

[c8:~/tmp:15553] a.out libffi.so
[c8:~/tmp:15554] a.out libffi
my_dlopenext: file not found

I don't believe that libltdl itself knows anything about shared library naming conventions. It is intended that the .la files be installed (as libtool --mode=install does) and that the application specify the name of the .la file. This works since libltdl opens the .la file to learn the name of the module to load. In addition to learning the name, libltdl can do any additional pre-loading that the module needs in case the OS does not support it or the module itself does not know all its dependencies.

Is there a reason why you would not want to do that?

Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]