[avahi] problems build avahi-0.6.10 in x86_64

mmodem00 at gmail.com
Fri May 5 11:42:20 PDT 2006

Im using the same spec but now i have removed the entries that would override 
configure options, so goes fine until starts reading from a wrong lib dir, im 
in x86_64 and as you see instead reading from /usr/lib64/libglib-2.0.so it 
goes to /usr/lib/libglib-2.0.so an consequently i get that error:

-shared  .libs/libavahi_glib_la-glib-watch.o .libs/libavahi_glib_la-glib-malloc.o  
-Wl,--rpath -Wl,/home/mmodem/rpm/BUILD/avahi-0.6.10/avahi-common/.libs 
-Wl,/usr/lib64 ../avahi-common/.libs/libavahi-common.so /usr/lib/libglib-2.0.so  
-Wl,-soname -Wl,libavahi-glib.so.1 -o .libs/libavahi-glib.so.1.0.0
/usr/lib/libglib-2.0.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: ** [libavahi-glib.la] Erro 1
make[2]: Leaving directory `/home/mmodem/rpm/BUILD/avahi-0.6.10/avahi-glib'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/home/mmodem/rpm/BUILD/avahi-0.6.10'

So to be able to build avahi-0.6.10 i still need to override configure with:
libtoolize --force
aclocal-1.9 -I common
automake-1.9 --add-missing

remember that now im not talking about svn.

Linux user #378762
MDE Developer - www.mde.djura.org

More information about the avahi mailing list