i can't get bfgminer to pickup on the .so files for libhidapi on raspian wheezy
from ~/
git clone https://github.com/signal11/hidapi && git clone https://github.com/luke-jr/bfgminer
cd hidapi
./bootstrap
./configure
make -j2
make install
cd ../bfgminer
./autogen.sh
CFLAGS="-ggdb -O0" ./configure --disable-opencl --enable-bitfury --enable-icarus --enable-bigpic --enable-nanofury
make -j2
sudo ./bfgminer -D -T -S NFY:all
output:
miner@raspberrypi ~/repos/bfgminer $ sudo ./bfgminer -D -T -S NFY:all
[2013-11-07 19:42:09] Timers: Using clock_gettime(CLOCK_MONOTONIC_RAW)
[2013-11-07 19:42:09] Global quota greatest common denominator set to 1
[2013-11-07 19:42:09] setrlimit: Soft fd limit not being changed from 1024 (FD_SETSIZE=1024; hard limit=4096)
[2013-11-07 19:42:09] Started bfgminer 3.5.1
[2013-11-07 19:42:09] Loaded configuration file /root/.cgminer/cgminer.conf
[2013-11-07 19:42:09] hidapi_try_lib: Couldn't load libhidapi.so: libhidapi.so: cannot open shared object file: No such file or directory
[2013-11-07 19:42:09] hidapi_try_lib: Couldn't load libhidapi-0.so: libhidapi-0.so: cannot open shared object file: No such file or directory
[2013-11-07 19:42:09] hidapi_try_lib: Couldn't load libhidapi-hidraw.so: libhidapi-hidraw.so: cannot open shared object file: No such file or directory
[2013-11-07 19:42:09] hidapi_try_lib: Couldn't load libhidapi-libusb.so: libhidapi-libusb.so: cannot open shared object file: No such file or directory
[2013-11-07 19:42:09] hid_devinfo_scan: Failed to load any hidapi library
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:009 (path=(null), vid=0835, pid=8500, manuf=Action Star, prod=USB2.0 Hub, serial=(null))
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:023 (path=(null), vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000072328)
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:024 (path=(null), vid=04d8, pid=00de, manuf=Microchip Technology Inc., prod=NanoFury NF1 v0.6, serial=0000072543)
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:005 (path=(null), vid=0835, pid=8501, manuf=Action Star, prod=USB HID, serial=(null))
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:004 (path=(null), vid=0835, pid=8500, manuf=Action Star, prod=USB2.0 Hub, serial=(null))
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:003 (path=(null), vid=0424, pid=ec00, manuf=(null), prod=(null), serial=(null))
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:010 (path=(null), vid=0835, pid=8502, manuf=Action Star, prod=USB HID, serial=(null))
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:001 (path=(null), vid=1d6b, pid=0002, manuf=Linux 3.6.11+ dwc_otg_hcd, prod=DWC OTG Controller, serial=bcm2708_usb)
[2013-11-07 19:42:09] lowlevel_scan: Found usb device at usb:001:002 (path=(null), vid=0424, pid=9512, manuf=(null), prod=(null), serial=(null))
[2013-11-07 19:42:09] DISPLAY not set, setting :0 just in case
[2013-11-07 19:42:09] Failed to load OpenCL library, no GPUs usable
All devices disabled, cannot mine!
output of sudo find / | grep libhidapi.*
sudo find / | grep libhidapi.*
/usr/local/lib/libhidapi-libusb.so
/usr/local/lib/libhidapi-hidraw.so.0.0.0
/usr/local/lib/libhidapi-libusb.so.0
/usr/local/lib/libhidapi-hidraw.so.0
/usr/local/lib/libhidapi-libusb.a
/usr/local/lib/libhidapi-libusb.so.0.0.0
/usr/local/lib/libhidapi-hidraw.a
/usr/local/lib/libhidapi-hidraw.la
/usr/local/lib/libhidapi-libusb.la
/usr/local/lib/libhidapi-hidraw.so
/home/miner/repos/hidapi/libusb/.libs/libhidapi-libusb.so
/home/miner/repos/hidapi/libusb/.libs/libhidapi-libusb.so.0
/home/miner/repos/hidapi/libusb/.libs/libhidapi-libusb.a
/home/miner/repos/hidapi/libusb/.libs/libhidapi-libusb.so.0.0.0
/home/miner/repos/hidapi/libusb/.libs/libhidapi-libusb.lai
/home/miner/repos/hidapi/libusb/.libs/libhidapi-libusb.la
/home/miner/repos/hidapi/libusb/libhidapi-libusb.la
/home/miner/repos/hidapi/linux/.libs/libhidapi-hidraw.so.0.0.0
/home/miner/repos/hidapi/linux/.libs/libhidapi-hidraw.so.0
/home/miner/repos/hidapi/linux/.libs/libhidapi-hidraw.a
/home/miner/repos/hidapi/linux/.libs/libhidapi-hidraw.lai
/home/miner/repos/hidapi/linux/.libs/libhidapi-hidraw.la
/home/miner/repos/hidapi/linux/.libs/libhidapi-hidraw.so
/home/miner/repos/hidapi/linux/libhidapi-hidraw.la