circular dynamic dependencies and rpmlint

Jakub Jelinek jakub at redhat.com
Tue Sep 5 12:01:50 UTC 2006


On Tue, Sep 05, 2006 at 01:45:35PM +0200, Denis Leroy wrote:
> (not much luck on fedora-extras-list, reposting here)
> 
> Short version: are 'undefined-non-weak-symbol' rpmlint warnings 
> acceptable when you have dynamic libraries circular dependencies within 
>  a project ?

Well, if two shared libraries can't be used without each other, then the
first question that should be answered is why haven't the two libraries
been linked together into one shared library?  All the circular dependency
ensures is that nothing linked against them can be prelinked, the libraries
use together more memory than a combined library would need, takes longer
to load, etc.
If both libraries come from the same src.rpm, then you probably can use
libtool's convenience libraries.

	Jakub




More information about the fedora-devel-list mailing list