Jay Berkenbilt <[email protected]> writes: > Russ Allbery <[email protected]> wrote:
>> Either those lines need to be removed from the *.la file or >> libxerces-c-dev should have a dependency on libicu-dev. (Ideally, the >> right solution is probably to stop installing the *.la files at all, >> since they really just confuse matters, but that requires rebuilding >> everything that depends on the library to regenerate all downstream >> *.la files.) > I always thought of .la files as being useful for helping with automatic > handling of transitive library dependencies, but I'll admit that I'm > probably out of date on this issue. There is an open bug against > another of my packages for issues with the .la files as well. Linux will automatically handle transitive shared library dependencies when loading the shared library, and indeed you don't want to have the binary declare a dependency on libraries that it only uses by way of other libraries. It entangles more library transitions together in ways that aren't necessary. Libtool's feature here is necessary, however, for static linking, where you do have to build a full list of libraries. Unfortunately, Libtool doesn't distinguish between shared and static linking. There was a recent thread about this... somewhere. debian-devel, I think. I think the general feeling is that just not installing the *.la files is the best approach, but it requires very careful coordination since the leaf libraries all have to go first. Adding the dependency is a fine fix in the meantime. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

