Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341281 - games-strategy/defcon-demo libSDL-1.2.so.0 error
Summary: games-strategy/defcon-demo libSDL-1.2.so.0 error
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-16 14:14 UTC by Aniruddha
Modified: 2013-04-22 17:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (defcon-1.42.ebuild,1.88 KB, text/plain)
2010-10-16 15:41 UTC, Aniruddha
Details
defcon (defcon,400 bytes, text/plain)
2010-10-16 15:42 UTC, Aniruddha
Details

Note You need to log in before you can comment on or make changes to this bug.
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