Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 341281

Summary: games-strategy/defcon-demo libSDL-1.2.so.0 error
Product: Gentoo Linux Reporter: Aniruddha <mailingdotlist>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
defcon

Description Aniruddha 2010-10-16 14:14:49 UTC
When starting defcon the following error occurs

$ defcon
ERROR: ld.so: object '/opt/defcon-demo/lib/chdir.so' from LD_PRELOAD cannot be preloaded: ignored.
./defcon.bin.x86: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

I do have the requested file

$  locate libGL.so.1
/usr/lib64/opengl/ati/lib/libGL.so.1
/usr/lib64/opengl/ati/lib/libGL.so.1.2
/usr/lib64/opengl/xorg-x11/lib/libGL.so.1
/usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2
/usr/lib32/opengl/ati/lib/libGL.so.1
/usr/lib32/opengl/ati/lib/libGL.so.1.2
/usr/lib32/opengl/xorg-x11/lib/libGL.so.1
/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2



Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-10-16 14:24:45 UTC
> ./defcon.bin.x86: error while loading shared libraries: libSDL-1.2.so.0: cannot
> I do have the requested file
> $ locate libGL.so.1

hu.   libSDL-1.2.so.0 is not the same thing as libGL.so.1

if you are on amd64: emerge app-emulation/emul-linux-x86-sdl
or on x86: emerge libsdl

the ebuild seems to miss all emul- deps for amd64...
Comment 2 Aniruddha 2010-10-16 15:41:37 UTC
Created attachment 250873 [details]
ebuild

I have added an ebuild for defcon since there was only a demo version. This version  depends on app-emulation/emul-linux-x86-sdl
Comment 3 Aniruddha 2010-10-16 15:42:46 UTC
Created attachment 250875 [details]
defcon

Put in files/defcon
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2010-10-16 16:17:14 UTC
The demo becomes the full version when you enter your key.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2013-04-22 17:47:17 UTC
I'm not able to reproduce this issue.  Reopen with emerge --info if it's still possible to reproduce it with games-strategy/defcon-demo-1.60