You are not logged in.
Yesterday I downloaded the Shadowgrounds demo from linuxgamepublishing.com and installed it. Everything went quite smoothly but when trying to run the game I bumped into this problem:
$ ./shadowgrounds_demo
./shadowgrounds_demo: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
So I try to see what the problem is:
$ ldd shadowgrounds_demo
linux-gate.so.1 => (0xf7705000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75a1000)
libgdk_pixbuf-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgthread-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libpango-1.0.so.0 => not found
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7584000)
libatk-1.0.so.0 => not found
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf757f000)
libgtk-1.2.so.0 => not found
libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7572000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7563000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf7539000)
libSDL-1.2.so.0 => not found
libglib-1.2.so.0 => not found
libgdk-1.2.so.0 => not found
librt.so.1 => /usr/lib32/librt.so.1 (0xf752f000)
libcrypt.so.1 => /usr/lib32/libcrypt.so.1 (0xf74fe000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf7395000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf737d000)
/lib/ld-linux.so.2 (0xf7706000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf737a000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7374000)
Seems like the game can't acces the libraries it needs but here's the thing: I DO have those libraries installed!
$ ldd /usr/lib/libgtk-x11-2.0.so.0
linux-vdso.so.1 => (0x00007fff0b9c7000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007ffab6a29000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007ffab681c000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007ffab64df000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007ffab62d9000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007ffab60b7000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007ffab5e08000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007ffab5be6000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007ffab58a6000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007ffab5679000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007ffab542e000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007ffab51fa000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007ffab4fa9000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007ffab4da5000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007ffab4ab0000)
libm.so.6 => /lib/libm.so.6 (0x00007ffab482d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007ffab4610000)
libc.so.6 => /lib/libc.so.6 (0x00007ffab42b0000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007ffab409d000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007ffab3e93000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007ffab3c91000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007ffab3a81000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007ffab3879000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007ffab366f000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007ffab346c000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007ffab326a000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007ffab3065000)
librt.so.1 => /lib/librt.so.1 (0x00007ffab2e5c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007ffab2bc0000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007ffab29a5000)
libdl.so.2 => /lib/libdl.so.2 (0x00007ffab27a0000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007ffab252c000)
libpng14.so.14 => /usr/lib/libpng14.so.14 (0x00007ffab2303000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007ffab20e9000)
libffi.so.5 => /usr/lib/libffi.so.5 (0x00007ffab1ee1000)
libpcre.so.0 => /lib/libpcre.so.0 (0x00007ffab1ca3000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007ffab1a8b000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007ffab1862000)
/lib/ld-linux-x86-64.so.2 (0x00007ffab7336000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007ffab1651000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007ffab144f000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007ffab124a000)
There they are! Why does the game not find them? I would be happy to hear whatever insight people here would have to give about this matter.
I've done some googling and there are people having some similar problems but not exactly like this. The closest one would be this I guess.
Well, that still doesn't help me one bit.
Any ideas?
I'm using x86-64 Arch and kernel v.3.0.6-2 with KDE.
+ a GTX460 gfx card with nvidia's 285.05.09-1 drivers.
Last edited by Rayniac (2011-10-18 16:18:24)
Offline
well, you need the lib32 libs and there is a pkg in aur for shadowgrounds demo, so i would try it http://aur.archlinux.org/packages.php?ID=31256
there is also the source available, but I've never managed to build it properly https://github.com/vayerx/shadowgrounds
Last edited by marvn (2011-10-17 11:46:47)
core i5 4590, x86_64, nvidia 970
Offline
What lib32 libs do you mean? I tried installing lib32-gtk, turned out I already had it and reinstalling didn't help. Also I fail at making that AUR package:
[rayniac@myhost shadowgrounds-demo]$ makepkg -s
==> ERROR: install file () does not exist.
So I tried to do a bit more reading and I have more questions now...
https://wiki.archlinux.org/index.php/Us … _on_Arch64
Note: All libs will be installed under /opt/lib32
Well they are not. at least on my computer. I got nothing in the /opt/ directory even though I'm supposed to have 32-bit libraries installed >:(
This is really starting to drive me nuts.
Something else interesting I found from that page:
Environment Variables
Some useful Env Variables when running 32bit-applications without chroot:
For gtk2 input modules and such
GTK_PATH=/opt/lib32/usr/lib/gtk-2.0/
For pango (lib32-pango includes these config files)
PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
Iconv (conversion from 'XXXXXXX' is not supported or cannot convert from X to Y -errors)
GCONV_PATH=/opt/lib32/usr/lib/gconv
Library paths without having them in /etc/ld.so.conf
LD_LIBRARY_PATH="/opt/lib32/usr/lib/:/opt/lib32/lib/:$LD_LIBRARY_PATH"
GDK stuff (GdkPixbuf warnings errors criticals, lib32-gtk2 includes the file)
GDK_PIXBUF_MODULE_FILE="/opt/lib32/config/gdk/gdk-pixbuf.loaders"
Could it be that the game is looking for the libraries from a place where the 64-bit libraries are stored and fails because of that?
If so, how do I point it to the right directory? Could it be done with these enviroment variable thingies?
Offline
as you can see in the pkgbuild file, these are the libs you need: 'lib32-libgl' 'lib32-gtk' 'lib32-gtk2' 'lib32-libmikmod' 'lib32-libvorbis' 'lib32-mesa' 'lib32-sdl' 'lib32-libxdamage'
and if you want to build smt from aur, you have to download all the files, not just the PKGBUILD. easy way is to download the tarball, extract it and run makepkg in the directory where the files were extracted to
core i5 4590, x86_64, nvidia 970
Offline
Woohoo it works now after installing those libs Except there are no sounds
A guy from the Frozenbyte team told me that the linux demos are not very up to date so that must cause the problem somehow.
Well I don't care to troubleshoot this matter any further since I got the full version of the game already and that works without a hitch.
Thank you marvn for your time.
Offline