Results 1 to 9 of 9

Thread: fceux gcc error / scons

  1. #1
    Join Date
    Jan 2012
    Location
    PA,USA
    Posts
    3

    Question fceux gcc error / scons

    Has anyone successfully installed fceux on 12.1?

    When trying to install it I get the following error when I run 'scons':

    Code:
    /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: src/lua/src/loadlib.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
    /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
    /lib64/libdl.so.2: could not read symbols: Invalid operation
    I don't know how to do this: "try adding it to the linker command line".

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: fceux gcc error / scons

    On 01/08/2012 10:56 PM, sobersocialist wrote:
    >
    > Has anyone successfully installed fceux on 12.1?


    did you first try to install it from here: http://tinyurl.com/7ubpst2

    --
    DD http://tinyurl.com/DD-Caveat
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: fceux gcc error / scons

    Since an older version is available from the Emulators repository, maybe
    you can simply drop an email to one of its maintainers if they are
    willing to provide a newer version
    https://build.opensuse.org/package/u...ject=Emulators
    Maybe I can help you with your error message if you paste the full
    output to susepaste.org and give us the link.
    What you post now gives me no clue which exact compiler command produced it.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
    nVidia ION | 3GB Ram

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: fceux gcc error / scons

    I had to add
    Code:
    Import('env')
    env.ParseConfig('pkg-config --cflags --libs x11')
    env.Append(LIBS=File('/lib64/libdl.so.2'))
    Export('env')
    at the beginning of the file src/drivers/sdl/SConscript
    to make fceux 2.1.5 compile on openSUSE 12.1 64bit.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
    nVidia ION | 3GB Ram

  5. #5
    Join Date
    Jan 2012
    Location
    PA,USA
    Posts
    3

    Default Re: fceux gcc error / scons

    Quote Originally Posted by martin_helm View Post
    I had to add
    Code:
    Import('env')
    env.ParseConfig('pkg-config --cflags --libs x11')
    env.Append(LIBS=File('/lib64/libdl.so.2'))
    Export('env')
    at the beginning of the file src/drivers/sdl/SConscript
    to make fceux 2.1.5 compile on openSUSE 12.1 64bit.
    Excellent, thanks!

  6. #6
    Join Date
    Jan 2012
    Location
    PA,USA
    Posts
    3

    Default Re: fceux gcc error / scons

    Quote Originally Posted by DenverD View Post
    On 01/08/2012 10:56 PM, sobersocialist wrote:
    >
    > Has anyone successfully installed fceux on 12.1?


    did you first try to install it from here: software.opensuse.org: Search Results
    I didn't try that, I will from now on, thank you.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,319
    Blog Entries
    15

    Default Re: fceux gcc error / scons

    Quote Originally Posted by Martin Helm
    I had to add
    Code:
    Import('env')
    env.ParseConfig('pkg-config --cflags --libs x11')
    env.Append(LIBS=File('/lib64/libdl.so.2'))
    Export('env')
    at the beginning of the file src/drivers/sdl/SConscript
    to make fceux 2.1.5 compile on openSUSE 12.1 64bit.
    Hi
    I added the LDFLAGS option to the build in the spec file....

    I've updated it to 2.1.5 (took me longer to do the change log entries!)
    and submitted it back to the Emulators repository;
    https://build.opensuse.org/request/show/99388
    https://build.opensuse.org/package/s...es%3AEmulators

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
    up 2 days 11:02, 3 users, load average: 0.03, 0.02, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  8. #8
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: fceux gcc error / scons

    Am 09.01.2012 02:29, schrieb malcolmlewis:
    > Hi
    > I added the LDFLAGS option to the build in the spec file....
    >
    > I've updated it to 2.1.5 (took me longer to do the change log entries!)
    > and submitted it back to the Emulators repository;
    > https://build.opensuse.org/request/show/99388
    > https://build.opensuse.org/package/s...es%3AEmulators
    >

    Perfect, thank you.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
    nVidia ION | 3GB Ram

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: fceux gcc error / scons

    On 01/09/2012 01:36 AM, sobersocialist wrote:
    > I will from now on, thank you.


    just be aware that you always do one of these things:

    1. during the 1-Click install it will ask you if you wish to keep the
    repo after the install is complete, say no.

    or

    2. after you have completed the install, then open YaST Software
    Repositories and change the just added repo so that it is not enabled
    and not automatically refreshing...the reason for that is in the
    paragraph beginning with "IMPORTANT" in this posting
    http://tinyurl.com/33qc9vu

    now, you can do whatever you wish....but, if you want a dependable
    stable system you will follow that advice for a while...(i've been
    following it a long long time, see my repos here:
    http://paste.opensuse.org/81397698

    ymmv

    --
    DD http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
    http://tinyurl.com/DD-Software
    openSUSE®, the "German Engineered Automobiles" of operating systems!

Tags for this Thread

Posting Permissions

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