This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch/rfc] don't try to load directories when searching for an ELF
- From: Roland McGrath <roland at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Sat, 7 Jan 2006 15:27:11 -0800 (PST)
- Subject: Re: [patch/rfc] don't try to load directories when searching for an ELF
It's working perfectly fine. A directory is just another file that isn't
an ELF file.
$ echo 'hi there' > /tmp/lib/libc.so.6
$ LD_LIBRARY_PATH=/tmp/lib ls
ls: error while loading shared libraries: /tmp/lib/libc.so.6: file too short