Sunday, March 6, 2011

/usr/bin/ld: cannot find -lusb?

I encountered this sort of problem when I was building bin packing project using DIP. 

For example, if it says cannot find -lusb
it means that it can not find the libusb.so(shared) or libusb.a(static) libraries. 

Normally we need to add the LD_LIBRARY_PATH in the .bashrc file

in the build-debug folder, ../configure and make , make install, 

Then it should build it (hopefully)

No comments:

Post a Comment