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

Bug#274852: /lib/libc.so.6 is not executable



Package: libc6
Version: 2.3.2.ds1-16
Severity: normal


On other distros (e.g. RH) /lib/libc.so.6 is executable and returns 
mainly libc version.

This is used in some scripts to check compatibilities and so breaks things.
For instance, it breaks Mathworks' Matlab internal scripts which uses
something like

ver=`/lib/libc.so.6 | head -1 | sed -e "s/^[^0-9]*//" -e "s/[ ,].*$//"`

to extract libc release.

If +x is added to libc.so.6, it fails as follows:

Inconsistency detected by ld.so: rtld.c: 1259: dl_main: \
Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information



Reply to: