With the patch below I get all *82* tests to pass on this platform. The build-relink2.test proclaims: $ ./build-relink2.test === Running build-relink2.test = Exiting: ../depdemo/l3/libl3.la is not a shared library $ echo $? 77 Make of that what you wish. ;-) 2001-04-23 Peter Eisentraut <[EMAIL PROTECTED]> * libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules are left. Index: ltdl.c =================================================================== RCS file: /home/cvs/libtool/libltdl/ltdl.c,v retrieving revision 1.132 diff -u -r1.132 ltdl.c --- ltdl.c 2001/04/22 22:50:54 1.132 +++ ltdl.c 2001/04/23 17:39:58 @@ -1384,11 +1384,14 @@ for (level = 1; handles; ++level) { lt_dlhandle cur = handles; + int saw_nonresident = 0; while (cur) { lt_dlhandle tmp = cur; cur = cur->next; + if (!LT_DLIS_RESIDENT (tmp)) + saw_nonresident = 1; if (!LT_DLIS_RESIDENT (tmp) && tmp->info.ref_count <= level) { if (lt_dlclose (tmp)) @@ -1397,6 +1400,9 @@ } } } + /* done if only resident modules are left */ + if (!saw_nonresident) + break; } /* close all loaders */ ===snip -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool