Linux Executable dont work in Ubuntu ?

Linux specific questions and discussion

Linux Executable dont work in Ubuntu ?

Postby BabaRoga » Sun Oct 04, 2009 1:09 am

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
BabaRoga
 
Posts: 19
Joined: Thu Nov 30, 2006 7:14 pm
Location: Presheva , Serbia
Score: 1 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby Hblade » Tue Oct 06, 2009 5:55 am

I got the same error O.o
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby Fuzzy » Tue Oct 06, 2009 6:35 am

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
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby makslane » Tue Oct 06, 2009 12:28 pm

More about this issue here:
viewtopic.php?f=2&t=6678
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby Hblade » Tue Oct 13, 2009 1:04 am

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
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby erkljer » Wed Oct 21, 2009 8:05 pm

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
erkljer
 
Posts: 10
Joined: Tue Feb 19, 2008 12:16 am
Score: 0 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby erkljer » Wed Oct 21, 2009 8:11 pm

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:
erkljer
 
Posts: 10
Joined: Tue Feb 19, 2008 12:16 am
Score: 0 Give a positive score

Re: Linux Executable dont work in Ubuntu ?

Postby Hblade » Thu Oct 22, 2009 5:46 pm

Nice glad it works :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron