bug-libtool
[Top][All Lists]
Advanced

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

Re: Possible problem with LT 2.2


From: Bob Friesenhahn
Subject: Re: Possible problem with LT 2.2
Date: Fri, 14 Mar 2008 20:55:37 -0500 (CDT)

On Fri, 14 Mar 2008, Jeff Squyres wrote:

- The missing symbols are originating from the SCTP BTL plugin. The SCTP plugin has a dependency against the sctp library (I have both libsctp.so and libsctp.a on my system). When mca_btl_sctp.la is created, it contains the following line:

  dependency_libs=' /usr/lib64/libsctp.la -lnsl -lutil -lm'

- mca_btl_sctp.la is then sucked into libmpi.la via libmpi_la_LIBADD. However, its dependency_libs value seems to be missing any mention of the libsctp dependency:

IMHO it is wrong for convenience libraries to have dependencies. Convenience libraries are just an aggregation of object files bundled together for convenient use later. They are not "proper" libraries. The included object files could actually depend on symbols satisfied by any number of external libraries, or even satisifed by linkage to the application itself.

This issue can be resolved by specifying linkage dependencies at a higher level.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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