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’:

/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”.

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!

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/users?package=fceux&project=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

I had to add


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

Excellent, thanks!

I didn’t try that, I will from now on, thank you.

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/package/show?package=fceux&project=home%3Amalcolmlewis%3Abranches%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

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/show?package=fceux&project=home%3Amalcolmlewis%3Abranches%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

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

  1. 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!