libtool
[Top][All Lists]
Advanced

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

libtool 1.4.2 + darwin problem


From: Lars J. Aas
Subject: libtool 1.4.2 + darwin problem
Date: Thu, 4 Oct 2001 16:56:23 +0200
User-agent: Mutt/1.2.5i

On Tue, Sep 11, 2001 at 05:06:51AM +0100, Gary V. Vaughan wrote:
: I am pleased to announce the release of GNU Libtool 1.4.2, which now

I haven't investigated this problem that thorough, but on a
"powerpc-apple-darwin1.3.7" system (an iBook) I had to change the
$archive_cmds variable (in libtool.m4 for libtool 1.4.2 (serial 46))
from

archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo 
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags 
-install_name $rpath/$soname $verstring'

to

archive_cmds='$nonopt $(test x$module = xyes && echo -bundle || echo 
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $linker_flags -install_name 
$rpath/$soname $verstring'

to get around a problem with the final linker line having duplicated the
list of convenience libraries.  $libobjs contained both the .los and .las,
and $deplibs contained all the .las, so the link stopped with duplicate
symbol errors.  I also had to remove the "s to get around a weird quoting
problem.

Is this a known issue?  A local problem?  libtool is used in combination
with Autoconf 2.52 and Automake 1.5.

  Lars J



reply via email to

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