Hi,
i think there is a bug in the autotools stuff in
libtool-1.5.4. Configure fails to set LTDL_SHLIB_EXT
for libltdl which causes lt_dlopenext() to ignore
native system shlibs when called. Simple patch bellow.
--- libtool-1.5.4.orig/ltdl.m4 2004-04-02 03:46:14.000000000 +0000
+++ libtool-1.5.4.new/ltdl.m4 2004-04-07 22:21:30.000000000 +0000
@@ -207,7 +207,7 @@
[libltdl_cv_shlibext],
[
module=yes
-eval libltdl_cv_shlibext=$shrext
+eval libltdl_cv_shlibext=$shrext_cmds
])
if test -n "$libltdl_cv_shlibext"; then
AC_DEFINE_UNQUOTED(LTDL_SHLIB_EXT, "$libltdl_cv_shlibext",