Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Error relocating /usr/lib/python2.7/OmegaExpansion/onionI2C.so: i2c_writeBufferRaw: symbol not found" #17

Open
Cu-Toof opened this issue Sep 30, 2017 · 4 comments

Comments

@Cu-Toof
Copy link

Cu-Toof commented Sep 30, 2017

I'm connecting the LCD Display with Onion omega. But i have a issue:

"ImportError: Error relocating /usr/lib/python2.7/OmegaExpansion/onionI2C.so: i2c_writeBufferRaw: symbol not found"

Could you please tell me a solution for my issue, thank you!

@alessiodionisi
Copy link

Same error

@astrorick
Copy link

I'm having the same problem with "onionI2C.so" but not with "pwmExp.so" which i think uses the same functions to control the PWM Expansion. The latter doesn't throw errors however and works as expected.

@greenbreakfast
Copy link
Contributor

Ah I recently released a new version of the I2C library that implements a new function (reading without specifying an address). It looks like your Python library got updated but the C library itself didn't.

Try running this:

opkg update
opkg upgrade libonioni2c pyOnionI2C

Let me know if it works!

@astrorick
Copy link

I just upgraded the C library (which was on version 0.4-1 instead of 0.5-1) and now the script which used to throw the error doesn't do it anymore. The problem seems solved but I'll do some extensive tests and try to read/write from/to some i2c devices. Thanks sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants