LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-18-2013, 03:35 AM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,226

Rep: Reputation: 187Reputation: 187
m64py error on Slackware64 with multilib installed.


I am in the process of upgrading my mupen64plus over at SBo.org to 2.0. Everything is done and it works fine, however I decided to try the m64py GUI package that was already submitted. Everything works fine on 32-bit but on 64 with multilib installed I get this error

Traceback (most recent call last):
File "/usr/bin/m64py", line 40, in <module>
from m64py.frontend.mainwindow import MainWindow
File "/usr/lib64/python2.7/site-packages/m64py/frontend/mainwindow.py", line 27, in <module>
from m64py.frontend.worker import Worker
File "/usr/lib64/python2.7/site-packages/m64py/frontend/worker.py", line 26, in <module>
from m64py.core.core import Core
File "/usr/lib64/python2.7/site-packages/m64py/core/core.py", line 28, in <module>
from m64py.core.vidext import vidext
File "/usr/lib64/python2.7/site-packages/m64py/core/vidext.py", line 20, in <module>
from SDL import *
File "/usr/lib64/python2.7/site-packages/SDL/__init__.py", line 30, in <module>
import SDL.dll
File "/usr/lib64/python2.7/site-packages/SDL/dll.py", line 226, in <module>
_dll = SDL_DLL('SDL', 'SDL_Linked_Version')
File "/usr/lib64/python2.7/site-packages/SDL/dll.py", line 60, in __init__
self._dll = getattr(cdll, library)
File "/usr/lib64/python2.7/ctypes/__init__.py", line 435, in __getattr__
dll = self._dlltype(name)
File "/usr/lib64/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/libSDL-1.2.so.0.11.3: wrong ELF class: ELFCLASS32

Obviously the 32bit library is being picked up instead of the 64 in /usr/lib64. Is this something that needs to fixed at compile time or can it be fixed after the package is installed. I am not the maintainer of the m64py package, but I am just looking for an answer so I can give him a heads up.
 
Old 07-18-2013, 04:34 AM   #2
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 299

Rep: Reputation: 179Reputation: 179
Hello,

Quote:
Originally Posted by Daedra View Post
I am in the process of upgrading my mupen64plus over at SBo.org to 2.0. Everything is done and it works fine, however I decided to try the m64py GUI package that was already submitted. Everything works fine on 32-bit but on 64 with multilib installed I get this error

[..snip...]
OSError: /usr/lib/libSDL-1.2.so.0.11.3: wrong ELF class: ELFCLASS32

Obviously the 32bit library is being picked up instead of the 64 in /usr/lib64. Is this something that needs to fixed at compile time or can it be fixed after the package is installed. I am not the maintainer of the m64py package, but I am just looking for an answer so I can give him a heads up.
Have you tried to change LDFLAGS as explained here in slackbuilds's FAQ ?

--
SeB
 
Old 07-18-2013, 04:47 AM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,226

Original Poster
Rep: Reputation: 187Reputation: 187
It's a python build, not C or C++. So in this instance that would not apply.

Last edited by Daedra; 07-18-2013 at 04:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VitualGL-2.3.2 error on build on Slackware64-14.0 multilib frushiyama Slackware 8 07-21-2013 10:32 PM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 06:42 AM
Slackware64 multilib compile error Breeze Slackware 7 05-22-2011 03:56 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 10:04 AM
Compile SDL app in Slackware64 w Eric's Multilib installed lightkuragari Slackware 4 07-06-2010 09:54 AM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration