Trying to cross compile gphoto2 and hit this error during configure:
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.
Get the same error with both
./configure --build=x86_64-unknown-linux-gnu -host=mips-openwrt-linux-uclibc
and
./configure --build=x86_64-unknown-linux-gnu -host=mips-openwrt-linux-uclibc -libdir=/home/wire/openwrt/staging_dir/host/lib/ -includedir=/home/wire/openwrt/staging_dir/host/include/
Not a code guy so not quite sure where to go from here.