[Nut-upsuser] configure with error

Charles Lepple clepple at gmail.com
Wed Apr 25 12:17:17 UTC 2012

On Apr 25, 2012, at 7:34 AM, ramazan firin wrote:

> enable libltdl (Libtool dlopen abstraction) support: no 
> root at debian:/home/ramazan/Desktop/nut-2.6.3/tools/nut-scanner# make nut-scanner
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include    -I../../clients -I../../include    -DNETSNMP_ENABLE_IPV6 -g -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon     -g -O2 -Wall -Wsign-compare -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c -o libnutscan_la-scan_usb.lo `test -f 'scan_usb.c' || echo './'`scan_usb.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../../clients -I../../include -DNETSNMP_ENABLE_IPV6 -g -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon -g -O2 -Wall -Wsign-compare -MT libnutscan_la-scan_usb.lo -MD -MP -MF .deps/libnutscan_la-scan_usb.Tpo -c scan_usb.c  -fPIC -DPIC -o .libs/libnutscan_la-scan_usb.o
> scan_usb.c:28:18: error: ltdl.h: No such file or directory

Looks like you need the "libltdl-dev" package as well. (The "enable libltdl" line should say "yes" after you re-run ./configure)

Charles Lepple
clepple at gmail

More information about the Nut-upsuser mailing list