darkfeline / wmii

Automatically exported from code.google.com/p/wmii
MIT License
0 stars 0 forks source link

Build fails on Ubuntu 12.04 / 64bit: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' #254

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Building wmii from hg source, it crashes and gives me this output:

...
MAKE all cmd/x11/
CC cmd/x11/wikeyname.o
LD cmd/x11/wikeyname.out
CC cmd/x11/wmii9menu.o
LD cmd/x11/wmii9menu.out
cc -o wmii9menu.out wmii9menu.o -g -ldl -ldl -L../../lib -L/usr/lib 
../../lib/libstuff.a ../../lib/libregexp9.a ../../lib/libbio.a 
../../lib/libfmt.a ../../lib/libutf.a /usr/local/lib/libixp.a -lXinerama 
-lXrender -lX11 -lXrandr -lXft -lXext
/usr/bin/ld: ../../lib/libstuff.a(xft.o): undefined reference to symbol 
'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO 
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so so try 
adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libdl.so: could not 
read symbols: Invalid operation
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [wmii9menu.out] Erreur 1
make[1]: *** [dall] Erreur 2
make: *** [dall] Erreur 2

I've built wmii before on this computer, but I was using a i386 version of 
Ubuntu. It's an Eee PC 1015 PEM, using some kind of Atom processor.

Original issue reported on code.google.com by mok...@gmail.com on 23 Jun 2012 at 11:10

GoogleCodeExporter commented 9 years ago
Adding libdl to the linker should fix it...

Original comment by grinseka...@gmail.com on 30 Jul 2012 at 8:59

Attachments: