Bug#274852: /lib/libc.so.6 is not executable
merge 210840 274852 207872
At Mon, 04 Oct 2004 13:25:54 +0200,
Francesco Paolo Lovergine wrote:
> 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!
It was already reported. This will be fixed in the next glibc update.