← Back to team overview

registry team mailing list archive

[Bug 662979] Re: FTBFS in Natty: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'

 

** Tags added: build

** Description changed:

  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
+   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
+ libinkscape_a_LIBADD = -ldl

-- 
FTBFS in Natty: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
https://bugs.launchpad.net/bugs/662979
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.