You are not logged in.
Pages: 1
Traceback (most recent call last):
File "main.py", line 1, in <module>
import libtcodpy as libtcod
File "/home/defm03/Repositories/baku-haku/libtcodpy.py", line 47, in <module>
_lib = ctypes.cdll['./libtcod.so']
File "/usr/lib/python2.7/ctypes/__init__.py", line 440, in __getitem__
return getattr(self, name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 435, in __getattr__
dll = self._dlltype(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: ./libtcod.so: wrong ELF class: ELFCLASS64
I was going to continue work on my small roguelike game with libtcod, but it suddenly stopped working. I didn't touch it for few months, so first thing I've done is updating this lib. It didn't work, so next, I tried importing libtcodpy from libtcod package which I've get from aur. Still nothing. Any ideas?
Last edited by defm03 (2013-07-02 13:53:51)
-- github
Offline
It would appear that libtcod is installed for the wrong architecture (64-bit).
Offline
Pages: 1