Comment 0 for bug 662979

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Binary package hint: inkscape

My attempt to build inkscape_0.48.0-1ubuntu1 in a Natty chroot (amd64) failed with the following error:

  CXXLD inkscape
/usr/bin/ld: libinkscape.a(javabind.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

This is probably due to the changes in binutils for Natty/Wheezy <http://wiki.debian.org/ToolChain/DSOLinking> which prevent the automatic resolution of symbols in indirect dependent shared libraries.

Inkscape has already been flagged as potentially having this problem at the following pages:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554919
* https://wiki.ubuntu.com/RobSavoye/GoldFixes

Is this just a case of adding the following to src/Makefile.am?

libinkscape_a_LDADD = -ldl