Libtool & libraries
Arend van Beelen jr.
arend at auton.nl
Sun May 23 21:03:13 BST 2004
On Sunday 23 May 2004 21:48, Szombathelyi György wrote:
[snip]
> If I build kdelibs with fam support, then libkio will linked against
> libfam. But why all other kde programs, that linked against libkio is
> linked against libfam? Now Fedora Core2 is supplied with selinux, and fam
> is linked with libselinux. And what happens? _Every_ kde program is linked
> against libselinux. Now if some wants to distribute binary version of his
> kde program, it's very hard to do it in a fairly portable way.
> As I looked into the building process, libtool links a program to all
> dependency_libs in the .la files. Is this a wanted or unwanted side effect
> of libtool?
[snip]
This is indeed an unwanted side effect of libtool. However, the folks over at
autopackage, which aims at cross-distribution binary packaging, have already
developed some nice tools to minimize the dependencies of your binaries. This
includes removing bogus dependencies like the ones you described, linking
against older versions of glibc and removing static paths from binaries. Just
take a look at http://autopackage.org/ .
Greets,
--
Arend van Beelen jr.
http://www.liacs.nl/~dvbeelen
So if you want my address, it's number one at the end of the bar.
-- Marillion
More information about the kde-core-devel
mailing list