@Keiner,
I'm having a similar problem than you seemed to solve. The i2c-tools project builds (and installs) without complaints, but I'm getting an error while importing smbus on python:
root@clanton:~/i2c-tools# python Python 2.7.3 (default, May 23 2014, 23:51:57) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.>>> import smbus /usr/bin/python2.7: symbol 'i2c_smbus_access': can't resolve symbol in lib '/usr/lib/python2.7/site-packages/smbus.so'.
The problem seems much bigger, though:
root@clanton:~/i2c-tools# i2cdetect -y -f 0 /usr/local/sbin/i2cdetect: can't load library 'libi2c.so.0'
I used AlexT's image and installed several tools:
opkg install make gcc-dev gcc-symlinks cpp cpp-symlinks g++ g++-symlinks uclibc-dev uclibc-utils binutils-dev binutils-symlinks python-dev coreutils-dev
And the libraries' permissions seem to be correct, I even included '/usr/local/lib' into my PATH to try to make things work:
root@clanton:~/i2c-tools# ls -la /usr/local/lib/ total 16 drwxr-sr-x 2 root root 1024 Sep 15 03:37 . drwxr-sr-x 7 root root 1024 Sep 15 02:12 .. -rw-r--r-- 1 root root 4076 Sep 15 03:37 libi2c.a lrwxrwxrwx 1 root root 11 Sep 15 03:37 libi2c.so -> libi2c.so.0 lrwxrwxrwx 1 root root 15 Sep 15 03:37 libi2c.so.0 -> libi2c.so.0.1.0 -rwxr-xr-x 1 root root 9496 Sep 15 03:37 libi2c.so.0.1.0 root@clanton:~/i2c-tools# echo $PATH /usr/local/lib:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/lib
Any help would be greatly appreciated. Thanks in advance!