Skip to contentSkip to conversation

adding libgphoto2

Buildroot Niall Parker 2 participants 3 messages May 30, 2011 – Jul 12, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I've been using buildroot 2011.02 and was trying to libgphoto2 and was following the howto in the docs (also copying the libusb Config.in and .mk with tweaks). Unfortunately it wasn't a trivial task and it is complaining it needs libltdl ...

Quoted 10 lines

checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking that we can compile and link with libltdl... no
configure: error: cannot compile and link against libltdl libgphoto2 requires libltdl (the libtool dl* library), but cannot compile and link against it.
Aborting.

I have enabled libtool in the package selection but evidently the autoconf isn't finding it. Any suggestions on where to start ?

Thanks.

                         ... Niall
#1 lore raw

Hello,

Quoted 16 lines · On Sun, 29 May 2011 23:20:35 -0700 Niall Parker <[email protected]>…

I've been using buildroot 2011.02 and was trying to libgphoto2 and was following the howto in the docs (also copying the libusb Config.in and .mk with tweaks). Unfortunately it wasn't a trivial task and it is complaining it needs libltdl ...

Quoted 10 lines

checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking that we can compile and link with libltdl... no
configure: error: cannot compile and link against libltdl libgphoto2 requires libltdl (the libtool dl* library), but cannot compile and link against it.
Aborting.

Quoted 2 lines

I have enabled libtool in the package selection but evidently the autoconf isn't finding it. Any suggestions on where to start ?

Can you share the current status of your patch, so that we can try to help you starting from where you are ?

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw
Quoted 20 lines · Thomas Petazzoni

Hello,

Quoted 15 lines · On Sun, 29 May 2011 23:20:35 -0700 Niall Parker<[email protected]>…

I've been using buildroot 2011.02 and was trying to libgphoto2 and was following the howto in the docs (also copying the libusb Config.in and .mk with tweaks). Unfortunately it wasn't a trivial task and it is complaining it needs libltdl ...

Quoted 10 lines

checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking that we can compile and link with libltdl... no
configure: error: cannot compile and link against libltdl libgphoto2 requires libltdl (the libtool dl* library), but cannot compile and link against it.
Aborting.

Quoted 8 lines
Quoted 2 lines

I have enabled libtool in the package selection but evidently the autoconf isn't finding it. Any suggestions on where to start ?

Can you share the current status of your patch, so that we can try to help you starting from where you are ?

Regards,

Thomas

Thanks for the reply, took a little while to figure out generation of the patch (new to git, was working from released tarball) ... hopefully this is what you are looking for. Definitely not working yet, not finding the libltdl ...

                  ... Niall

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgphoto2.patch
Type: text/x-patch
Size: 1590 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110712/a96391c3/attachment.bin>