Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

During installation Emerald in ubuntu 13.04 when I write "sudo make" I have problem:

libtool: link: gcc -g -O2 -pthread -I/usr/include/libwnck-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/startup-notification-1.0 -o .libs/emerald main.o engine_loader.o  ../libengine/.libs/libemeraldengine.so -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libfreetype.so -lfontconfig -ldecoration -lXrender -lX11 -lpangocairo-1.0 -lpango-1.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -pthread
/usr/bin/ld: main.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
/usr/bin/ld: note: 'exp@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libm.so.6 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [emerald] Błąd 1
make[1]: Opuszczenie katalogu `/home/stanek/emerald-0.9.5/src'
make: *** [install-recursive] Błąd 1
share|improve this question
    
This might help: iamfuss.deviantart.com/journal/… –  green7 Apr 29 '13 at 15:53
    
Yes, i did it. This error is when I write this: ./autogen.sh && make clean && make distclean && ./configure --prefix=/usr && make && sudo make install –  stanek Apr 29 '13 at 16:18
    
could someone help me? –  stanek Apr 30 '13 at 14:13

1 Answer 1

This is a bit of a kludge, but it works:

Edit the file configure.ac found in the emerald source folder. There, approximatively on line 55, you will find the following line:

LIBS="$LIBS $EMERALD_LIBS"

Change it to

LIBS="$LIBS $EMERALD_LIBS -lm -ldl"

and redo the steps. It will work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.