Re: "Not an ELF file"?
Matt Kraai <firstname.lastname@example.org> writes:
> On Sun, Jul 20, 2003 at 12:56:09AM +0200, Petter Reinholdtsen wrote:
> > What is the solution to this error, which I get when I try to build d-i floppies out of the current archive:
> > mklibs -v -d ./tmp/cdrom/tree/lib --root=./tmp/cdrom/tree `find
> > ./tmp/cdrom -type f -perm +0111 -o -name '*.so'`
> > Command failed with status 1 : readelf --program-headers
> > ./tmp/cdrom/tree/lib/debian-installer.d/S20templates
> > With output: readelf: Error: Unable to read in 28772 bytes of section headers
> > readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
> This has been reported as bug #201740.
Why does it happen at all? S20templates does not match "-name '*.so'"
so it should not be passed as an argument and nothing links to it so
mklibs should not pull it in eigther.
I don't realy see the point in checking files not passed as argument
or linked against but I haven't worked on mklibs for a long long time.