LD Changes To Implicit DSO Linking Update

Patrice Dumas pertusus at free.fr
Tue Feb 16 20:57:04 UTC 2010


On Tue, Feb 16, 2010 at 05:03:24PM +0100, Enrico Scholz wrote:
> Gerd Hoffmann <kraxel at redhat.com> writes:
> 
> > [root at localhost ~]# pkg-config --libs gtk+-2.0
> > -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
> > -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype 
> > -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
> 
> Are all these libraries really required?  Putting them into a linker line
> causes a huge overlinking adding lots of unneeded direct dependencies to
> rpm packages.

I remember finding also that it added too much unneeded deps, but I had a 
look and a random subset of these library were indeed used by gnome
applications and libraries that was installed on my computer at that time.

--
Pat


More information about the devel mailing list