Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

  1. #1

    Default M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Hi all. I'm trying to use an emulator frontend for Mupen64Plus called M64Py. I downloaded this from the openSUSE Build Service. It's pretty neat and I like it a lot (I use it on other distros), but I cannot seem to get it to run on my openSUSE 13.1 PC. It asked for a number of Python Qt4 libraries which I duly installed, but I'm now stumped on the following output:

    Code:
    kinzie@linux:~> m64py
     __  __                         __   _  _   ____  _            
    |  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___  
    | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __| 
    | |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \ 
    |_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/ 
                 |_|                                               
    
    
    M64Py - A frontend for Mupen64Plus version 0.1.6
    
    
    Traceback (most recent call last):
      File "/usr/bin/m64py", line 76, in <module>
        main()
      File "/usr/bin/m64py", line 60, in main
        from m64py.frontend.mainwindow import MainWindow
      File "/usr/lib/python2.7/site-packages/m64py/frontend/mainwindow.py", line 27, in <module>
        from m64py.frontend.worker import Worker
      File "/usr/lib/python2.7/site-packages/m64py/frontend/worker.py", line 30, in <module>
        from m64py.frontend.settings import Settings
      File "/usr/lib/python2.7/site-packages/m64py/frontend/settings.py", line 28, in <module>
        from m64py.frontend.input import Input
      File "/usr/lib/python2.7/site-packages/m64py/frontend/input.py", line 25, in <module>
        from m64py.frontend.joystick import Joystick
      File "/usr/lib/python2.7/site-packages/m64py/frontend/joystick.py", line 28, in <module>
        from m64py.SDL import *
      File "/usr/lib/python2.7/site-packages/m64py/SDL/__init__.py", line 30, in <module>
        from .dll import private_function, function
      File "/usr/lib/python2.7/site-packages/m64py/SDL/dll.py", line 226, in <module>
        _dll = SDL_DLL('SDL', 'SDL_Linked_Version')
      File "/usr/lib/python2.7/site-packages/m64py/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.4: wrong ELF class: ELFCLASS32
    Can anyone offer any help with this? Many thanks in advance.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    looks like you need some 32 bit libraries In other word you have a mix of 64 bit and 32 bit which does not work

    Se if can find a 32 bit version of
    libSDL-1.2.so.0.11.4

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Or maybe you need the 64bit???

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Looks like the program is looking for 64bit libs in /usr/lib. Which is wrong since openSUSE uses /usr/lib64.
    But, also: you say you run openSUSE 13.1, which does not come with this version of libSDL. It has libSDL-1_2-0-1.2.15-10.1.2
    This makes me think you've already been experimenting, please show output of
    Code:
    zypper lr -d
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    And then I had some more looking around, and there is no package built for 13.1, so you must have used the package for an other openSUSE version. Please elaborate.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Hmmm not sure what you're getting at. I did indeed do a little bit of experimenting, but only insofar as installing 32 bit version of the libsdl packages that are in the repos. I haven't added anything untoward from any other sources, well, excepting M64Py itself.

    I seem to have a version of libsdl-1.2.so.0.11.4 installed from the repos. This is a fresh install of 13.1.

  7. #7

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Quote Originally Posted by Kinzie View Post
    Hmmm not sure what you're getting at. I did indeed do a little bit of experimenting, but only insofar as installing 32 bit version of the libsdl packages that are in the repos. I haven't added anything untoward from any other sources, well, excepting M64Py itself.

    I seem to have a version of libsdl-1.2.so.0.11.4 installed from the repos. This is a fresh install of 13.1.
    Well, libsdl-1.2.so.0.11.4 is exactly the version that's included in 13.1.

    But installing only the 32bit version on a 64bit system will not work in that case, as m64py is a noarch python package and uses the 64bit python that's installed (so it needs the 64bit version of the libraries).

    So please install the 64bit version of libSDL. (as a side note: if you need the 32bit version of a library for some 32bit package, you should install the libxxx-32bit package, not the i586 version of libxxx)

    Btw, there is a package for 13.1:
    software.opensuse.org: Install package home:derselbst / m64py
    Is it this that you installed?

  8. #8

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Quote Originally Posted by wolfi323 View Post
    Well, libsdl-1.2.so.0.11.4 is exactly the version that's included in 13.1.

    But installing only the 32bit version on a 64bit system will not work in that case, as m64py is a noarch python package and uses the 64bit python that's installed (so it needs the 64bit version of the libraries).

    So please install the 64bit version of libSDL. (as a side note: if you need the 32bit version of a library for some 32bit package, you should install the libxxx-32bit package, not the i586 version of libxxx)

    Btw, there is a package for 13.1:
    software.opensuse.org: Install package home:derselbst / m64py
    Is it this that you installed?
    Yes that is indeed the package I installed for M64Py. I do also have installed both the 64 and 32 bit versions of the aforementioned LibSDL package.

    Is this program just not recognising which version to use? If so, how do I prompt it into the right direction? Thanks for your help.

  9. #9

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Quote Originally Posted by Kinzie View Post
    Yes that is indeed the package I installed for M64Py. I do also have installed both the 64 and 32 bit versions of the aforementioned LibSDL package.

    Is this program just not recognising which version to use? If so, how do I prompt it into the right direction? Thanks for your help.
    Well, I just tried it and it works fine here. But it needed libSDL2.

    Anyway, what SDL packages do you have installed exactly?
    Code:
    rpm -qa | grep SDL
    And for verification, please also post the output of:
    Code:
    rpm -qi m64py

  10. #10

    Default Re: M64Py openSUSE 13.1 64 bit Gnome - wrong ELFCLASS help

    Quote Originally Posted by wolfi323 View Post
    Well, I just tried it and it works fine here. But it needed libSDL2.

    Anyway, what SDL packages do you have installed exactly?
    Code:
    rpm -qa | grep SDL
    kinzie@linux:~> rpm -qa | grep SDL
    libSDL2_gfx-1_0-0-32bit-1.0.0-11.1.x86_64
    libSDL_gfx13-32bit-2.0.23-6.1.1.x86_64
    libSDL_Pango1-0.1.2-232.1.2.x86_64
    libSDL2_ttf-2_0-0-2.0.12-1.1.x86_64
    libSDL_sound-1_0-1-32bit-1.0.3-88.1.1.x86_64
    libSDL-1_2-0-32bit-1.2.15-58.1.x86_64
    libSDL2-2_0-0-32bit-2.0.0-2.1.1.x86_64
    perl-SDL-2.540-4.1.3.x86_64
    libSDL_image-1_2-0-32bit-1.2.12-6.1.2.x86_64
    libSDL2_ttf-2_0-0-32bit-2.0.12-1.1.x86_64
    libSDL2_mixer-2_0-0-32bit-2.0.0-9.1.x86_64
    libSDL_mixer-1_2-0-32bit-1.2.12-2.4.1.x86_64
    libSDL_image-1_2-0-1.2.12-6.1.2.x86_64
    libSDL2_gfx-1_0-0-1.0.0-11.1.x86_64
    libSDL_Pango1-32bit-0.1.2-232.1.2.x86_64
    libSDL_gfx13-2.0.23-6.1.1.x86_64
    libSDL2-2_0-0-2.0.0-2.1.1.x86_64
    libSDL2_image-2_0-0-2.0.0-2.2.2.x86_64
    libSDL2_image-2_0-0-32bit-2.0.0-2.2.2.x86_64
    libSDL_net-1_2-0-1.2.8-3.1.1.x86_64
    libSDL-1_2-0-1.2.15-58.1.x86_64
    libSDL_gfx15-2.0.25-24.2.x86_64
    libSDL_net-1_2-0-32bit-1.2.8-3.1.1.x86_64
    libSDL_mixer-1_2-0-1.2.12-2.4.1.x86_64
    libSDL_ttf-2_0-0-32bit-2.0.11-2.1.1.x86_64
    libSDL_gfx15-32bit-2.0.25-24.2.x86_64
    libSDL_ttf-2_0-0-2.0.11-2.1.1.x86_64
    perl-Alien-SDL-1.440-2.1.3.noarch
    libSDL2_mixer-2_0-0-2.0.0-9.1.x86_64
    libSDL_sound-1_0-1-1.0.3-88.1.1.x86_64

    Quote Originally Posted by wolfi323 View Post
    And for verification, please also post the output of:
    Code:
    rpm -qi m64py
    kinzie@linux:~> rpm -qi m64py
    Name : m64py
    Version : 0.1.6
    Release : 8.1
    Architecture: noarch
    Install Date: Sun 15 Dec 2013 12:08:22 GMT
    Group : Games/Emulator
    Size : 3532908
    License : GPL-3.0
    Signature : DSA/SHA1, Mon 14 Oct 2013 14:39:53 BST, Key ID fc7aef070ee744c4
    Source RPM : m64py-0.1.6-8.1.src.rpm
    Build Date : Mon 14 Oct 2013 14:39:40 BST
    Build Host : build15
    Relocations : (not relocatable)
    Vendor : obs://build.opensuse.org/home:derselbst
    URL : M64Py :: A frontend for Mupen64Plus
    Summary : M64Py - A frontend for Mupen64Plus
    Description :
    M64Py is a Qt4 front-end (GUI) for Mupen64Plus 2.0, a cross-platform plugin-based Nintendo 64 emulator.
    Distribution: home:derselbst / openSUSE_13.1

    Thanks for your help.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •