[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ 100049 ] conveniece libraries under darwin?

From: nobody
Subject: [ 100049 ] conveniece libraries under darwin?
Date: Sun, 24 Jun 2001 06:02:41 -0700

Support Request #100049, was updated on 2001-May-29 22:53
You can respond by visiting:

Category: None
Status: Open
Priority: 5
Summary: conveniece libraries under darwin?

By: fjf
Date: 2001-Jun-24 06:02

Logged In: NO 
Browser: Mozilla/4.77 [en] (X11; U; Linux 2.2.19thePesk i586; Nav)

Here's a patch against to solve the problem on
Darwin/MacOSX (watch the tabs). I have no idea whether this
will screw other platforms, however...

<         deplibs="$lib $deplibs"
>         if test "$libdir"; then
>           deplibs="$lib $deplibs"
>         fi


By: kfitz
Date: 2001-May-29 22:53

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 hello.lo

I notice the output:

cc -dynamiclib -undefined suppress -o .libs/
libhello.0.0.0.dylib  hello.lo -all_load  ./.libs/  ./.libs/ -lc -install_name  /Users/
libhello.0.dylib -compatibility_version 1 -
current_version 1.0

which, not surprisingly, fails to link, because appears twice on the link line. 

Why is libtool causing 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&#039;s libtool.

Any insight will be apreciated.

You can respond by visiting:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]