[Top][All Lists]

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

Once again, libltdl bug noticed under MinGW

From: Bob Friesenhahn
Subject: Once again, libltdl bug noticed under MinGW
Date: Sat, 29 May 2004 11:50:51 -0500 (CDT)

For a program built using MinGW, and which uses libltdl to load modules, libltdl attempts to dynamically load the library listed in the 'old_library' definition if there is nothing listed in the 'dlname' definition. This results in an attempt to load a .a file (e.g. "libiconv.a"). The end result is that Windows displays a pop-up message to the effect that the static libray is not a valid Windows image.

Why does libltdl attempt to dynamically load static libraries if a DLL is not available? Presumably it should not need to load anything at all since the symbols will already be present.

I presume that this strange behavior occurs under Unix as well, but Unix just behaves more reasonably.

Bob Friesenhahn

reply via email to

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