Page 1 of 1

Linux Executable dont work in Ubuntu ?

PostPosted: Sun Oct 04, 2009 1:09 am
by BabaRoga
Linux Executable dont work in Ubuntu ?
How to fix it ?

Launchin from terminal
OUTPUT:
Code: Select all
./gamee: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Tue Oct 06, 2009 5:55 am
by Hblade
I got the same error O.o

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Tue Oct 06, 2009 6:35 am
by Fuzzy
Works fine for me. I dont recall what I have installed though(that includes that file).

But you can do this:

sudo aptitude install libstdc++6

which will satisfy its need for version 5.

You can also find that in synaptic package manager by searching for libstdc++ if you prefer graphical installs. Dont install 5 which is listed with it.

More than likely though, you want to install build-essential. This will spare you from missing other files.

sudo aptitude install build-essential

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Tue Oct 06, 2009 12:28 pm
by makslane
More about this issue here:
viewtopic.php?f=2&t=6678

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Tue Oct 13, 2009 1:04 am
by Hblade
How to fix this: Make sure your up to date, if your using ATI, follow these instructions:

Download the ATI Drivers, it should be in a .run file. Now, right click it, go to properties, then click on permissions, then click onRun as Application. now open terminal, and type in sudo bash, which will let you run as a root. Now, drag it to the terminal, press enter. A new terminal will open up, go to the one where you typed in sudo bash, and press enter again. it should glitch and start installing it on the one where you typed in sudo bash. Close the new terminal.

If a terminal dosnt open up, a menu should. Click on "Open with terminal".


Now you should see the installer for ATI Drivers. Install them like you would on windows, then restart. Walla, you now hav the newest ATI Drivers.


Now download game editor, and simply double click the file :D

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Wed Oct 21, 2009 8:05 pm
by erkljer
Hi, right now there's no libstdc++5 package in ubuntu anymore, now there's libstdc++6.

I've tried to symlink from libstdc++6 but running ./gameEditor gives me this error:
Code: Select all
./gameEditor: /usr/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./gameEditor)
./gameEditor: /usr/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./gameEditor)


Using `strings libstdc++6 | grep CXXABI` shows me:
Code: Select all
$ strings libstdc++6 | grep CXXABI
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3


So apparently libstdc++6 is using a new version of CXXABI, I had no luck looking for GLIBCPP, but there is several versions of GLIBCXX (which I don't know if is the same):
Code: Select all
$ strings  libstdc++.so.6 | grep GLIB
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBC_2.0
GLIBC_2.3
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH


I haven't been able to compile it yet, so I wanted to try this demo package... is there something I could do to change the dependencies?

Thanks

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Wed Oct 21, 2009 8:11 pm
by erkljer
It works!!!
I installed a libstdc++5 package from an older ubuntu (jaunty) and now the gameEditor demo works.

Will try it now, bye :mrgreen:

Re: Linux Executable dont work in Ubuntu ?

PostPosted: Thu Oct 22, 2009 5:46 pm
by Hblade
Nice glad it works :D