Post
Topic
Board Mining software (miners)
Re: CGminer v2.10.0 on Broadcom based DD-WRT / OpenWRT
by
SAC
on 21/02/2013, 19:56:56 UTC
I deleted the ink files and made the symbolic links as you described, but i do have (again beginners) issues with lsusb.

if i call it i get this error message:
Code:
root@DD-WRT-FPGA:~# lsusb
lsusb: can't load library 'libusb-0.1.so.4'
root@DD-WRT-FPGA:~#

This is after renaming all the default libusb files and a restart of the router. Looks like this now:
Code:
libusb-0.1.so.4.4.4.txt            
libusb-0.1.so.4.txt
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
libusb.so.txt


How do i get lsusb to use the other libusb libraries? As i understand this lsusb uses the default files and i have to set a dependency somewhere? That dependency will be necessary for cgminer to use the "new" libusb files as well.

There is no easy way to do this?

Sry that i have to ask all these noob questions. If i get it working ill donate towards your effort.



Try as root ldconfig to have the cache for the libraries installed rebuilt and check in the /etc/ld.so.conf file to be sure the directory you copied into is present in that file so it will find them.

Edit: This page has couple of more commands you can try.

http://linux.101hacks.com/unix/ldconfig/