[uClibc] Question: /usr/local/lib - is not an ELF file..

Ethan telmnstr at 757.org
Mon Aug 23 23:28:06 UTC 2004


Hello all,

  I am working to try to get the gphoto2 application compiled against
uClibc. It is most likely an environment issue, but I ask of your help:

  I used the i386 image from the uClibc page as a build environment,
chroot'ting to it.

  libusb, built fine.
  libgphoto2, built fine (--without alot of stuff to help shrink it)
  gphoto2 built fine

  I set the LD_LIBRARY_PATH, things look good.

  When I try to execute the gphoto2 binary I get:

debian:/usr/local/bin# ./gphoto2
./gphoto2: '/usr/local/lib/gphoto2/2.1.4/libgphoto2_canon.la' is not an
ELF file
./gphoto2: '/usr/local/lib/gphoto2/2.1.4/libgphoto2_canon.a' is not an ELF
file
./gphoto2: '/usr/local/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.la'
is not an ELF file
./gphoto2: '/usr/local/lib/gphoto2_port/0.5.1/libgphoto2_port_serial.a' is
not an ELF file
./gphoto2: '/usr/local/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.la' is
not an ELF file
./gphoto2: '/usr/local/lib/gphoto2_port/0.5.1/libgphoto2_port_usb.a' is
not an ELF file
Segmentation fault

I built the same exact thing on a standard debian host, and it executes. I
compared the output of the ldconfig cache, but the standard host doesn't
seem to have anything specific about /usr/local/lib

Googled but found nothing.

Any suggestions as to what I should start looking at?


--
                               // Ethan O'Toole
                               // http://users.757.org/~ethan



More information about the uClibc mailing list