FirebirdSQL / fdb

Firebird Driver for Python
https://www.firebirdsql.org/en/devel-python-driver/
Other
60 stars 26 forks source link

Python FDB ELFCLASS32 error #108

Open alesb2010 opened 2 years ago

alesb2010 commented 2 years ago

I have installed fdb in my Linux instance. Manjaro ArchLinux Distrib. So I run a basic connection to Firebird DB and get this issue, that its like a 32bits / 64 bits error:

File "/usr/lib/python3.10/site-packages/fdb-2.0.2-py3.10.egg/fdb/fbcore.py", line 803, in connect File "/usr/lib/python3.10/site-packages/fdb-2.0.2-py3.10.egg/fdb/fbcore.py", line 231, in load_api File "/usr/lib/python3.10/site-packages/fdb-2.0.2-py3.10.egg/fdb/ibase.py", line 1398, in __init__ File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ self._handle = _dlopen(self._name, mode) OSError: libfbclient.so.2: wrong ELF class: ELFCLASS32

And this is some information that I get: import platform print(platform.architecture()) ('64bit', 'ELF') My Python version is Python 3.10.5

Anyone has information about how to solve issue like that.