Trine 2 Libraries for Ubuntu 14.04 LTS (64-bit)

Technical support for the Linux and Mac platforms for all Trine games.
001
Posts: 2
Joined: Tue Jul 14, 2015 11:57 pm

Trine 2 Libraries for Ubuntu 14.04 LTS (64-bit)

Postby 001 » Wed Jul 15, 2015 1:28 am

I recently purchased myself a copy of Trine 2 from humble bundle. However I've been having trouble with getting the proper libraries in order to run this game.

Here is the output of ldd bin/trine2_linux_32bit:

Code: Select all

   linux-gate.so.1 =>  (0xf77c2000)
   libopenal.so.1 => /usr/lib/i386-linux-gnu/libopenal.so.1 (0xf7755000)
   libvorbisfile.so.3 => not found
   libGL.so.1 => not found
   libGLU.so.1 => not found
   libfreetype.so.6 => not found
   libSDL-1.3.so.0 => ./lib/lib32/libSDL-1.3.so.0 (0xf764e000)
   libCg.so => ./lib/lib32/libCg.so (0xf6d6e000)
   libCgGL.so => ./lib/lib32/libCgGL.so (0xf6d00000)
   libPhysXLoader.so.1 => ./lib/lib32/libPhysXLoader.so.1 (0xf6cf0000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf6ceb000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6ce2000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6cc6000)
   libasound.so.2 => not found
   libz.so.1 => not found
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6bdd000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6b97000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6b7a000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf69cb000)
   /lib/ld-linux.so.2 (0xf77c3000)


I've tried searching for the required libraries on http://packages.ubuntu.com and manually installing them, however it appears that I already have the required libraries installed (and yes I did download the i386 versions).

For example, when I try to manually download the library for libasound.so.2, I'm given this:
Image

Furthermore, when I do a search for libasound.so.2 on my computer, it appears that I do in fact already have it:
Image

Despite all this however, I still can't start the game and running the ldd bin/trine2_linux_32bit command still results in certain libraries not being found. I suspect this might have to do with the fact that I'm running a 64-bit OS. If anybody has experience with this and can lend me a hand, I would greatly appreciate it :)

Trine 2 Version Info:
Version 2.01
Build 425

My Computer Specs:
HP G60-428CA (full specifications here)
Ubuntu 14.04 LTS (64-bit)

EDIT: I forgot to mention that I'm currently using the Nouveau Graphics Driver since the proprietary drivers for my computer don't work properly (it crashes my computer).
Last edited by 001 on Sat Jul 18, 2015 8:32 pm, edited 1 time in total.

User avatar
MarjutFB
Posts: 258
Joined: Tue Dec 03, 2013 3:48 pm
Contact:

Re: Trine 2 Libraries for Ubuntu 14.04 LTS (64-bit)

Postby MarjutFB » Fri Jul 17, 2015 11:21 am

I'm sorry to hear the game isn't working you.

You are probably trying to launch the DRM free version of the game? Let me know if you have downloaded the Steam version instead.

Could you also specify what libraries are not being found? Preferably paste the exact output you get from the terminal. This information will help us to look into this.

Let me know if you have any questions. :)

Cheers!

001
Posts: 2
Joined: Tue Jul 14, 2015 11:57 pm

Re: Trine 2 Libraries for Ubuntu 14.04 LTS (64-bit)

Postby 001 » Sat Jul 18, 2015 9:25 am

Yes, I was referring to the DRM-free version in my earlier post.

So I've tried installing Trine 2 using the Steam client and the steam version seems to be starting up properly (the sound and everything works).

However when I go to launch my DRM-free version, the terminal displays nohup: redirecting stderr to stdout and then nothing happens. Here is the exact output of my terminal when I run the ldd commands:

Code: Select all

[email protected]:~$ cd  /home/allan/Desktop/trine2
[email protected]:~/Desktop/trine2$ export LD_LIBRARY_PATH=./lib/lib32
[email protected]:~/Desktop/trine2$ ldd bin/trine2_linux_32bit
   linux-gate.so.1 =>  (0xf779b000)
   libopenal.so.1 => /usr/lib/i386-linux-gnu/libopenal.so.1 (0xf772e000)
   libvorbisfile.so.3 => not found
   libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf76cd000)
   libGLU.so.1 => not found
   libfreetype.so.6 => not found
   libSDL-1.3.so.0 => ./lib/lib32/libSDL-1.3.so.0 (0xf75c7000)
   libCg.so => ./lib/lib32/libCg.so (0xf6ce7000)
   libCgGL.so => ./lib/lib32/libCgGL.so (0xf6c79000)
   libPhysXLoader.so.1 => ./lib/lib32/libPhysXLoader.so.1 (0xf6c69000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf6c64000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6c5b000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6c3f000)
   libasound.so.2 => not found
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6c24000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6b3c000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6af6000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6ad9000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf692a000)
   libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf6912000)
   libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf68ff000)
   libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf68fb000)
   libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf68f5000)
   libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf68f1000)
   libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf67bd000)
   libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf67a5000)
   libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xf679f000)
   libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 (0xf679b000)
   libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 (0xf6796000)
   libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 (0xf678f000)
   libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf676d000)
   libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 (0xf676a000)
   libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf6764000)
   libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf6755000)
   /lib/ld-linux.so.2 (0xf779c000)
   libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6751000)
   libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf674a000)
[email protected]:~/Desktop/trine2$ ldd bin/trine2_linux_launcher_32bit
   linux-gate.so.1 =>  (0xf772d000)
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf76fb000)
   libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf76d2000)
   libuuid.so.1 => not found
   libSDL-1.3.so.0 => ./lib/lib32/libSDL-1.3.so.0 (0xf75cb000)
   libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7497000)
   libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xf744c000)
   libpng12.so.0 => not found
   libgtk-x11-2.0.so.0 => not found
   libgdk-x11-2.0.so.0 => not found
   libatk-1.0.so.0 => not found
   libgio-2.0.so.0 => not found
   libpangoft2-1.0.so.0 => not found
   libgdk_pixbuf-2.0.so.0 => not found
   libpango-1.0.so.0 => not found
   libfreetype.so.6 => not found
   libfontconfig.so.1 => not found
   libgobject-2.0.so.0 => not found
   libgthread-2.0.so.0 => not found
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7440000)
   libglib-2.0.so.0 => not found
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf743b000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7353000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf730c000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf72ef000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf72d3000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7125000)
   libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7103000)
   /lib/ld-linux.so.2 (0xf772e000)
   libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf70fe000)
   libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf70f7000)


I was hoping I wouldn't have to install Steam in order to run this game. Oh well, at least it's working. Many thanks for your help!

User avatar
MarjutFB
Posts: 258
Joined: Tue Dec 03, 2013 3:48 pm
Contact:

Re: Trine 2 Libraries for Ubuntu 14.04 LTS (64-bit)

Postby MarjutFB » Tue Jul 21, 2015 9:53 am

Good that the Steam version is working.

If you still want, you could try to run the following command for the game:

Code: Select all

export LD_LIBRARY_PATH=./lib/lib32

If that doesn't help either, we can look into this, but might be easier if you just continue to play the Steam version.

Let me know if you have any questions. Cheers! :)

User avatar
vv221
Posts: 2
Joined: Fri Aug 07, 2015 2:26 pm
Location: France
Contact:

Re: Trine 2 Libraries for Ubuntu 14.04 LTS (64-bit)

Postby vv221 » Fri Aug 07, 2015 2:43 pm

Here is the list of libraries you need to install to get the DRM-free version working on Debian/Ubuntu amd64:

Code: Select all

libasound2:i386
libglu1-mesa:i386
libopenal1:i386
libgtk2.0-0:i386
libvorbisfile3:i386


Please tell me if you still have difficulties to run it afterwards.

-----

If you use PulseAudio, you might need this package in addition to the ones I listed:

Code: Select all

libasound2-plugins:i386

Try without it first, and install it only if audio is missing or buggy.


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 8 guests