zhuangyan: I have tried to get cx_Oracle working on 64-bit FreeBSD with no luck either.
The problem I had is that linux_base-f10 is available for amd64, but runs in i386/32 bit mode. This didn't seem all that bad, since the linux-oracle-instantclient-* ports are 32-bit only.
Then, however...
Telefunken, we've been using FreeBSD/Python/cx_Oracle to connect to Oracle since 2008.
Looking at your error message:
# python setup.py build
libclntsh.so: could not read symbols: File in wrong format
error: command 'cc' failed with exit status 1
It may be that you're running 64-bit...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.