[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507339: [libc6-dev] Error while lining undefined reference to _dl_close@GLIBC_PRIVATE'



Package: libc6-dev
Version: 2.7-16
Severity: important

--- Please enter the report below this line. ---
When I try to link some programs I'm having the following error messages:

/usr/x86_64-linux-gnu/lib64/libdl.so.2: undefined reference to
`_dl_open@GLIBC_PRIVATE'
/usr/x86_64-linux-gnu/lib64/libdl.so.2: undefined reference to
`_dl_close@GLIBC_PRIVATE'

When using objdump on libdl.so.2 I found the following:

# objdump -R -r -t -T -G -x /usr/x86_64-linux-gnu/lib64/libdl.so.2 |
grep GLIBC_PRIVATE

5 0x00 0x0963cf85 GLIBC_PRIVATE
   0x0963cf85 0x00 07 GLIBC_PRIVATE
   0x0963cf85 0x00 06 GLIBC_PRIVATE
0000000000000000      DF *UND*  0000000000000484  GLIBC_PRIVATE
_dl_rtld_di_serinfo
0000000000000000      DF *UND*  00000000000000e1  GLIBC_PRIVATE _dl_vsym
0000000000000000      DO *UND*  0000000000000820  GLIBC_PRIVATE _rtld_global
0000000000000000      DF *UND*  000000000000023a  GLIBC_PRIVATE _dl_addr
0000000000000000      DO *UND*  0000000000000138  GLIBC_PRIVATE 
_rtld_global_ro
0000000000000000      DF *UND*  0000000000000b89  GLIBC_PRIVATE _dl_close
0000000000000000 g    DO *ABS*  0000000000000000  GLIBC_PRIVATE GLIBC_PRIVATE
0000000000000000      DF *UND*  0000000000000344  GLIBC_PRIVATE _dl_open
0000000000000000      DF *UND*  000000000000000d  GLIBC_PRIVATE _dl_sym
00000000001020b0 g    DO .bss   0000000000000008  GLIBC_PRIVATE _dlfcn_hook


Note: This error exists in almost all programs I'm trying to compile. The only 
programs that I do not find this problem are on programs that does not 
require me to link to any addiotnal libraries.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.26-1-amd64

Debian Release: lenny/sid
  990 testing         www.emdebian.org 
  990 testing         www.debian-multimedia.org 
  990 testing         security.debian.org 
  990 testing         mirror.isoc.org.il 
  500 unstable        www.emdebian.org 
  500 unstable        mirror.isoc.org.il 
  500 stable          volatile.debian.org 
    1 experimental    mirror.isoc.org.il 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
libc6              (= 2.7-16) | 2.7-16
linux-libc-dev                | 2.6.26-10



-- 
As a software engineer, it is better to think of yourself as ninja programmer 
rather than a mercenary coder.



Reply to: