Support Request #100049, was updated on 2001-May-29 22:53 You can respond by visiting: http://savannah.gnu.org/support/?func=detailsupport&support_id=100049&group_id=25 Category: None Status: Open Priority: 5 Summary: conveniece libraries under darwin? By: kfitz Date: 2001-May-29 22:53 Message: Logged In: NO Browser: Mozilla/4.0 (compatible; MSIE 5.1b1; Mac_PowerPC) I am learning to use libtool and its cohorts from the GNU autoconf book by Vaughan et al, and am trying to follow the simple examples in chapter 9 for Using Convenience LIbraries. I run into this odd behavior under Darwin: When I try to build a library with a dependency on my convenience library, using the command (which I copied from the book): glibtool cc -rpath /usr/local/sourceforge/src/savannah/www/support/_inst -o libhello.la hello.lo libtrim.la I notice the output: cc -dynamiclib -undefined suppress -o .libs/ libhello.0.0.0.dylib hello.lo -all_load ./.libs/ libtrim.al ./.libs/libtrim.al -lc -install_name /Users/ kfitz/Gumballs/hello-1.0/intro-hello/_inst/ libhello.0.dylib -compatibility_version 1 - current_version 1.0 which, not surprisingly, fails to link, because libtrim.al appears twice on the link line. Why is libtool causing libtrim.la to appear twice on the link line? That cannot be correct. I am using libtool1.4, built from source, and I am copying the commands verbatim from the book, except that I change "libtool" to "glibtool" to avoid name conflicts with Apple's libtool. Any insight will be apreciated. -kel ---------------------------------------------------------------------- You can respond by visiting: http://savannah.gnu.org/support/?func=detailsupport&support_id=100049&group_id=25 _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool