This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/17353] New: ldd no longer works with non-executable .so files
- From: "brooks at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 05 Sep 2014 22:40:32 +0000
- Subject: [Bug dynamic-link/17353] New: ldd no longer works with non-executable .so files
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17353
Bug ID: 17353
Summary: ldd no longer works with non-executable .so files
Product: glibc
Version: 2.18
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: brooks at gcc dot gnu.org
I am not sure if this is a glibc regression from 2.15 to 2.18, or a glibc vs.
eglibc difference, since my two points of comparison are system tools on Ubuntu
12.04 and 14.04. With that said, consider this .so file that doesn't have the
executable bit set:
$ ls python2.7/lib-dynload/pyexpat.so -l
-rw-r--r-- 1 root root 286314 Jul 11 12:12 python2.7/lib-dynload/pyexpat.so
$ ${eglibc215}/bin/ldd python2.7/lib-dynload/pyexpat.so
linux-vdso.so.1 => (0x00007fff1e3b7000)
[and so on]
$ ${glibc218}/bin/ldd python2.7/lib-dynload/pyexpat.so
ldd: warning: you do not have execution permission for
`python2.7/lib-dynload/pyexpat.so'
ldd: line 117: python2.7/lib-dynload/pyexpat.so: Permission denied
The warning seems reasonable, but failing to track down the linkages for the
library because of the missing executable bit seems like an unnecessary error,
since (a) it used to work, and (b) the library is otherwise entirely functional
without the execute bit set.
--
You are receiving this mail because:
You are on the CC list for the bug.