Crashes on startup Ubuntu 14.04 32-Bit

Discuss problems related to FTL here. If you are having a problem or experiencing a bug PLEASE READ THE "MUST READ" POST.
Jelly_Rolls
Posts: 7
Joined: Mon Jun 02, 2014 9:42 pm

Crashes on startup Ubuntu 14.04 32-Bit

Post by Jelly_Rolls »

Running Linux Ubuntu 14.04 32-Bit. When I try launching the game, it loads and then immediately exits. I have verified the integrity of the game cache multiple times. Reinstalled multiple times. but to no avail When I run it in terminal I get the following:

russiancomrade@SecretRussianFiles:~$ '/home/russiancomrade/.local/share/Steam/SteamApps/common/FTL Faster Than Light/data/FTL'
Loading Arch = x86
/home/russiancomrade/.local/share/Steam/SteamApps/common/FTL Faster Than Light/data/x86/bin/FTL: error while loading shared libraries: libstdc++.so.6: file too short

When trying to find the file libstdc++.so.6 does not exist. Yet, when I reinstall or verify integrity, it does not reappear.
shadowcrust
Posts: 328
Joined: Sat Sep 21, 2013 6:43 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by shadowcrust »

Maybe the solution found here helps:

http://www.ftlgame.com/forum/viewtopic.php?f=9&t=15193
Jelly_Rolls
Posts: 7
Joined: Mon Jun 02, 2014 9:42 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by Jelly_Rolls »

It seems to me that the opposite is occurring. I cannot delete this file, because it does not exist in the first place.
shadowcrust
Posts: 328
Joined: Sat Sep 21, 2013 6:43 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by shadowcrust »

It's just a hunch, but see if the problem persists after you've renamed your "Faster Than Light" directory to "FasterThanLight", without spaces. Or just reinstall the whole thing to a directory name without spaces.
Jelly_Rolls
Posts: 7
Joined: Mon Jun 02, 2014 9:42 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by Jelly_Rolls »

By this I assume you mean the FTL Faster Than Light in the steam/steamapps/common files. When I rename it "FTLFasterThanLight" it simply says that the executable is missing. If I am mistaken and you are talking about a different file, please tell me.
shadowcrust
Posts: 328
Joined: Sat Sep 21, 2013 6:43 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by shadowcrust »

Have you tried

Code: Select all

apt-get install lib32stdc++6
(as superuser)? Maybe it's missing on your system? What does

Code: Select all

locate libstdc++.so.6
give you?

There are many threads about problems with FTL regarding libstdc++.so.6 on Linux around - apparently, FTL uses a deprecated version, and on some systems you have to deal with that. I'd sift through the threads and see what looks familiar.
Jelly_Rolls
Posts: 7
Joined: Mon Jun 02, 2014 9:42 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by Jelly_Rolls »

After looking around for a bit on other threads I can't find anything. When i tr o locate the file is it in a few other games like Dungeons of Dredmor and Left for Dead 2, I tried to cannibalize the file but it gives me the same error as before.
shadowcrust
Posts: 328
Joined: Sat Sep 21, 2013 6:43 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by shadowcrust »

On Debian stable 64 bit, locate libstdc++.so.6 gives me these directories:

/usr/lib/i386-linux-gnu/libstdc++.so.6
/usr/lib/i386-linux-gnu/libstdc++.so.6.0.17
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17

So if you don't have them there or somewhere similar on your system (and only in your game directories), I guess you haven't got lib32stdc++6 installed on your system. Have you tried apt-get install lib32stdc++6?
Jelly_Rolls
Posts: 7
Joined: Mon Jun 02, 2014 9:42 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by Jelly_Rolls »

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lib32stdc++6
E: Couldn't find any package by regex 'lib32stdc++6'


That's what i get
shadowcrust
Posts: 328
Joined: Sat Sep 21, 2013 6:43 pm

Re: Crashes on startup Ubuntu 14.04 32-Bit

Post by shadowcrust »

Have a look here: http://packages.ubuntu.com/search?keywo ... tdc%2B%2B6

According to this site, you *should* be able to install it, as far as I can gather. Have you done the apt-get command as root or with sudo?

You can also do a (root or sudo)

Code: Select all

apt-file search libstdc++.so.6
(you may need to install apt-file first and then update it with apt-file update), and then see which packages contain libstdc++.so.6 on your system.

Have you possible done extensive modifications of your base Ubuntu install?

Oh wait, have you done (as root or sudo)

Code: Select all

apt-get update
before issuing the apt-get install command? Maybe your database is not up to date or totally empty if you've never used apt-get before?
Post Reply