[Top][All Lists]

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

Re: lt_dlopen with modules and no .la

From: Bob Friesenhahn
Subject: Re: lt_dlopen with modules and no .la
Date: Wed, 28 Dec 2005 11:10:38 -0600 (CST)

What happens if the path specified by 'base_name' does not include a '.'? Does it crash?

Note that the code in development libtool is quite different than the ltdl.c you used.


On Wed, 28 Dec 2005, Pierre Ossman wrote:

Ralf Wildenhues wrote:
Hi Pierre,

* Pierre Ossman wrote on Thu, Dec 22, 2005 at 09:26:02AM CET:

On Wed, 21 Dec 2005, Pierre Ossman wrote:

When using ltdl on Windows to load plug-ins there is a problem with the name mangling system. The field is only set if libltdl finds a .la file. Just the DLL won't do. The result is that symbols cannot be found becaus libltdl looks for the plain name (without prefix).

The fix should be a matter of moving the code that filters out the extension to before the branch between la and non-la files. I tried it here and it works lika a charm.

Please post the patch (with `diff -u').  Thank you.

Patch included.

Pierre Ossman                Telephone: +46-13-21 46 00
Cendio AB                    Web:

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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