Closed camara-tech closed 12 years ago
yeah, I have to figure out how to do that. Now, if it were Mac OSX, I could compile the file to have both the 32 and the 64 bit versions :).
On Thursday, July 26, 2012, italy-portugal wrote:
I tried running yinjar on my Ubuntu 12.04 64bit system, and I received the error: "OSError: ./libtcod.so: wrong ELF class: ELFCLASS32" which means libtcod is compiled for a 32bit system. Below is the full traceback.
Traceback (most recent call last): File "main.py", line 4, in <module> import libtcodpy as libtcod File "/home/owner/Dropbox/Projects/yinjar/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: ELFCLASS32
Reply to this email directly or view it on GitHub: https://github.com/fiddlerwoaroof/yinjar/issues/2
Jonathan, could you re-check it after running 'sh linux64.sh' on a newly downloaded zipfile?
I got the same error as before. I am going to make sure that the problem isn't with the library itself. I may need to recompile it for 64bit.
could you and put them in the 64bit dir
can you try manually replacing the files in the root directory with those in the 64bit one?
I actually did try that earlier and got the same error. I want to make sure that the error is repeatable before I try compiling the source.
Ugh... Could you compile the SVN version? That's what I'm using on Mac
I pulled down just the zip file from bitbucket and it compiled successfully and everything worked.
could you push it up?
I pulled the code using mercurial from bitbucket and recompiled, and everything works. I will put it into the 64bit folder like you had originally done.
ok, thanks
alright it's uploaded, let me make sure it works. and then we can close this issue.
I did some cleanup on my side, the files and directories: fonts images javascripts params.json index.html stylesheets seemed to have wandered in from the gh-pages branch
Testing is done, and I updated the Readme. This issue is closed
Fixed by commit 9fd5348686a107db9f8e9e50cd0af12f44658bc2
I tried running yinjar on my Ubuntu 12.04 64bit system, and I received the error: "OSError: ./libtcod.so: wrong ELF class: ELFCLASS32" which means libtcod is compiled for a 32bit system. Below is the full traceback.