Trine .run setup + Debian

Technical support for the Linux and Mac platforms for all Trine games.
User avatar
pattern23
Posts: 2
Joined: Tue Apr 19, 2011 7:56 pm

Trine .run setup + Debian

Postby pattern23 » Tue Apr 19, 2011 9:32 pm

Hello, i've hust downloaded the amazing humble bundle :P , and trine for first game. I downloaded the .run installer for my linux debian 6.0, but when i run it, i get the following error:
[[email protected]:~$ /home/pattern23/Trine-1.32.run
/home/pattern23/Trine-1.32.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/pattern23/Trine-1.32.run)][/code]

I have the package libstdc++6 alrady installed, so why is this happening?

dom96
Posts: 2
Joined: Tue Apr 19, 2011 10:35 pm

Re: Trine .run setup + Debian

Postby dom96 » Tue Apr 19, 2011 10:36 pm

Same problem here. Running Ubuntu 10.04.

Xpander
Posts: 34
Joined: Fri Apr 15, 2011 5:40 am
Location: Estonia

Re: Trine .run setup + Debian

Postby Xpander » Wed Apr 20, 2011 12:21 am

if u have 64bit OS then install 64bit trine
or if u want to install 32bit trine on 64bit system then install ia32-libs (dunno exact package name, check from ur package manager)

maybe the problem is there?
i might be wrong also ofc.
Linux Mint 13 alpha 64bit
* AMD Phenom II x4 955 BE (3,2 ghz)
* 8GB ddr3 1600mhz
* Asus GTX 560Ti DirectCU

dom96
Posts: 2
Joined: Tue Apr 19, 2011 10:35 pm

Re: Trine .run setup + Debian

Postby dom96 » Wed Apr 20, 2011 12:54 am

No, I'm running a 32-bit version of Ubuntu.

User avatar
march
Posts: 6
Joined: Wed Apr 20, 2011 1:47 am
Contact:

Re: Trine .run setup + Debian

Postby march » Wed Apr 20, 2011 1:54 am

Same error here:
./Trine-1.64.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./Trine-1.64.run)


Trine.64.run worked fine.

Running Ubuntu 10.04 (64-bit).

joaomatos
Posts: 4
Joined: Wed Apr 20, 2011 12:19 pm

Re: Trine .run setup + Debian

Postby joaomatos » Wed Apr 20, 2011 12:23 pm

Debian 6.0 GNU/Linux x86 here.
Same problem as OP.
Trine.32.run installer worked fine.
This prevents me from installing the new build.

FrozenBug
Posts: 13
Joined: Fri Jan 07, 2011 6:52 pm

Re: Trine .run setup + Debian

Postby FrozenBug » Wed Apr 20, 2011 10:40 pm

Same issue here. Trying to run the 32-bit version on 32-bit Ubuntu.

Code: Select all

$ ./Trine-1.32.run
./Trine-1.32.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./Trine-1.32.run)


What's this "Trine.32.run" installer that was mentioned by others? My download only included Trine-1.32.run.

User avatar
march
Posts: 6
Joined: Wed Apr 20, 2011 1:47 am
Contact:

Re: Trine .run setup + Debian

Postby march » Thu Apr 21, 2011 12:35 am

FrozenBug wrote:My download only included Trine-1.32.run.

Previous version was Trine.32.run - you've got the updated version compiled with recent libraries. A new installer will be uploaded soon: viewtopic.php?p=14140#p14140

geirha
Posts: 1
Joined: Fri Apr 29, 2011 9:04 pm

Re: Trine .run setup + Debian

Postby geirha » Fri Apr 29, 2011 9:32 pm

I bought the humble bundle pack and was a little disappointed that the installer didn't work on 10.04, but luckily it's just the installer. The game runs fine otherwise. I got around it by running the installer with a newer version of the C++ library (without actually installing a newer version).

The steps are as follows:
1. First off, lets make a temporary directory to work in.

Code: Select all

mkdir /tmp/trine && cd /tmp/trine

2. Grab a newer version of the libstdc++6 package. One from maverick or natty should suffice.

Code: Select all

wget http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.5/libstdc++6_4.5.2-8ubuntu4_i386.deb

3. We're not gonna install this, only extract it to our temporary directory, so it will not affect the system, at all (apart from using about 1.3 MiB of space in /tmp).

Code: Select all

dpkg-deb -x libstdc++6_4.5.2-8ubuntu4_i386.deb /tmp/trine

4. A newer version of libstdc++.so.6 will now be under /tmp/trine/usr/lib/i386-linux-gnu. We're gonna run the Trine-installer, passing LD_LIBRARY_PATH with this path to its environment. This will not affect any other program on your system, only the installer will know about it. (Assuming here that Trine.1-32.bin is in your homedir, replace $HOME with the appropriate directory if not).

Code: Select all

LD_LIBRARY_PATH=/tmp/trine/usr/lib/i386-linux-gnu "$HOME/Trine-1.32.run"

5. Follow the Installation instructions.
6. After installing, you don't need that library anymore, so you can remove it, or just leave it since /tmp gets wiped every time you boot anyway.

Code: Select all

rm -rf /tmp/trine


This should work for 64-bit Ubuntu 10.04 too, but, of course, you need to grab the equivalent 64-bit (_amd64.deb) package instead of the 32-bit (_i386.deb) package. Should also work with Debian.


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 5 guests