[Top][All Lists]

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

Re: relinking error

From: Ralf Wildenhues
Subject: Re: relinking error
Date: Fri, 5 Mar 2010 20:07:48 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

Hello Monty,

* Monty Taylor wrote on Fri, Mar 05, 2010 at 07:01:15PM CET:
> On 03/05/2010 09:26 AM, Monty Taylor wrote:
> >The simple case where it's happening is in libcassandra. We have to
> >lib_LTLIBRARIES defined, and
> >
> >lib_LTLIBRARIES+= libcassandra/
> >lib_LTLIBRARIES+= libgenthrift/
> As a follow up, if I reverse the order of the above declaration to:
> lib_LTLIBRARIES+= libgenthrift/
> lib_LTLIBRARIES+= libcassandra/
> It works. So it does seem to be that install doesn't pay attention
> to dependency information here.

Yes, that's a known bug in the automake/libtool combo.  You have to list
libraries in one Makefile in one automake variable in dependency order.
Sorry you had to find out the hard way.

Between different variables (say, lib_LTLIBRARIES and pkglib_LTLIBRARIES)
currently there is no guaranteed installation ordering at all.  Between
different Makefiles of a package the traversal order given by the
SUBDIRS variables of all Makefiles need to walk libraries in dependency

I'm not sure whether it's worth actually trying to fix any of these
issues except maybe the relative ordering between different variables
in one


reply via email to

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