[Buildroot] Compiling Apache

Baruch Siach baruch at tkos.co.il
Wed Mar 23 17:16:08 UTC 2011


Hi Michael,

On Wed, Mar 23, 2011 at 07:12:12AM +0100, Michael Burghart wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi and good morning...
> 
> Am 22.03.2011 21:21, schrieb Michael Burghart:
> > Hi Baruch,
> > 
> > Am 22.03.2011 21:03, schrieb Baruch Siach:
> > 
> >> Another possibility is that one of the shared libraries that this executable
> >> depends on is missing. What is the output of 'ldd dftables'?
> > 
> > ./dftables: not an ELF file.
> > 
> > puzzles me even more...
> > 
> > Thanks for your help btw!!
> 
> mb at einstein:/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre> /LFS/buildroot-2011.02/output/host/usr/bin/file
> dftables
> dftables: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> dynamically linked (uses shared libs), not stripped
> 
> mb at einstein:/LFS/buildroot-2011.02/output/build/httpd-2.2.17/srclib/pcre> /LFS/buildroot-2011.02/output/host/usr/bin/ldd
> dftables
> dftables: not an ELF file.
> 
> I do not understand. file tells me the info about the file and ldd tells
> me its not an ELF  file whereas file says "ELF 32 bit" (which is correct).
> 
> What did I do wrong?

Do you have 32bit libraries on your host machine?

What is the output of 'sh -x /usr/bin/ldd dftables'?

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list