I am trying to compile the projects found here
USB-I2C/SPI/GPIO Interface Adapter.
I downloaded the i2c_bridge-0.0.1-rc2.tgz package. I installed libusb and that seemed to go well with no issues. I go into the i2c_bridge-0.0.1-rc2/ directory and make. That compiles. I move into the i2c_bridge-0.0.1-rc2/i2c folder and make. It compiles and gives me ./i2c. However, when I run it, it says "error while loading shared libraries: libi2cbrdg.so: cannot open shared object file: No such file or directory"
The makefile in i2c i2c_bridge-0.0.1-rc2/i2c has the library directory as "../". The libi2cbrdg.so is in this directory.
If I sudo ./i2c, it still gives me the problem.
I had to take away the -Werror and -noWdecrepated (spelling?) options in all the makefiles to get them to compile, but that shouldn't affect this should it?
I tried copying the .so into /usr/local/lib/, but that did not help the issue. If anyone can help me find out what is wrong I would be very grateful.