packages: babl/babl.spec - ver. 0.1.8 (nfy - builds without vala 0.16 and w...

Jakub Bogusz qboosh at pld-linux.org
Thu Apr 19 17:11:12 CEST 2012


On Wed, Apr 18, 2012 at 07:18:15PM +0100, Artur Wroblewski wrote:
> On Wed, Apr 18, 2012 at 6:55 PM, Jakub Bogusz <qboosh at pld-linux.org> wrote:
> > On Wed, Apr 18, 2012 at 02:06:26AM +0200, wrobell wrote:
> >>  BuildRequires:       autoconf >= 2.54
> >>  BuildRequires:       automake >= 1:1.11
> >> +BuildRequires:       elfutils-devel
> >
> > Where did this come from?
> 
> libtool: link: gcc -o
> /home/users/wrobell/rpm/BUILD/babl-0.1.10/babl/tmp-introspectUAe1Xd/.libs/Babl-0.1
> /home/users/wrobell/rpm/BUILD/babl-0.1.10/babl/tmp-introspectUAe1Xd/Babl-0.1.o
> -pthread -Wl,--export-dynamic -Wl,--export-dynamic  -L.
> ./.libs/libbabl-0.1.so -lm /usr/lib64/libgio-2.0.so -lz -lresolv
> /usr/lib64/libgobject-2.0.so /usr/lib64/libffi.so
> /usr/lib64/libgthread-2.0.so /usr/lib64/libgmodule-2.0.so -ldl
> /usr/lib64/libglib-2.0.so /usr/lib64/libpcre.so -lpthread -lrt -lelf
> -pthread
> /usr/bin/ld: cannot find -lelf
> 
> Try:
> 
> $ grep -r elf /usr/lib64/*.la
> 
> Not sure where to add the dependency... glib2-devel?

It came from glib2, but it's unnecessary. Only gresource tool should be
linked with -lelf; I've added a patch to avoid adding -lelf to global
LIBS in glib2 build.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list