Hello libtoolers, This is a diff against version libtool 1.3.4 to make it work correctly for FreeBSD. After we made this change to our local copy of libtool we found out that the FreeBSD people have included a version of libtool with an identical change (modulo comments). Somehow it has not propagated back to the maintainers. The problem is that the FreeBSD linker has a -pthread option that is used to select internally select whether to use -lc or -lc_r. Having libtool add -lc seems to interfere with this. I hope this helps, and thanks for all your great work. - Don Anderson dda@dizzy:~/db/dist > cvs diff -r1.4 ltmain.sh Index: ltmain.sh =================================================================== RCS file: /b/CVSROOT/db/dist/ltmain.sh,v retrieving revision 1.4 retrieving revision 1.7 diff -c -r1.4 -r1.7 *** ltmain.sh 2000/01/11 23:34:07 1.4 --- ltmain.sh 2000/07/25 11:52:48 1.7 *************** *** 1795,1800 **** --- 1795,1808 ---- *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; + + #### local change for Sleepycat DB: [#2380] + # The following case is added, since the linker's -pthread + # option implicitly controls use of -lc or -lc_r. + *freebsd*) + # defer to whether the user wants -lc, or -lc_r + ;; + *) # Add libc to deplibs on all other systems. deplibs="$deplibs -lc" -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Remember to send requests for assistance on new problems to [EMAIL PROTECTED] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Don Anderson [EMAIL PROTECTED] Sleepycat Software Inc. +1-978-287-4781 394 E. Riding Dr. http://www.sleepycat.com Carlisle, MA 0174