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
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen


_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to