Game Development Community

Can't get torqueDemo.bin to run

by Tim Elliott · in Technical Issues · 02/17/2006 (4:25 pm) · 4 replies

Hi all,
I just downloaded Kubuntu (which I am sure is Debian/Ubuntu based) and set it all up fine. The only problem is that the torqueDemo.bin doesnt work properly. It comes upn with this error when open it using the Konsole:

error while loading shared libraries: libstdc++.so.5: cannot open shared object file: no such file or directory.

or

cannot execute binary file

with the two different commands (./* and sh *)

Any ideas?

Thanks for your help.
Tim

#1
02/18/2006 (7:02 am)
Sh torqueDemo.bin will never work.

./torqueDemo.bin should work.

Look in /usr/lib for the libstdc++.so.5 link. On my debian box it is linked to /usr/lib/libstdc++.so.5.0.7.

My guess is that it's either a permissions problem or missing packages from your install.

If it is a missing package this is what I would do on debian to install it.
aptitude install libstdc5++

-Jerry
#2
02/18/2006 (7:24 am)
I have an ubuntu version 5.10 and I have check on my sytem the library libstdc++5 is installed.

Use the equivalent of unbuntu synaptic in order to install the package.

Philippe C
#3
02/18/2006 (4:57 pm)
Now it is starting to sound more and more like a broken system/bad install..

Try

ldconfig -v

verify that libstdc++.so.5 is listed.

If not tweak your /etc/ld.so.conf and run ldconfig -v again.

BTW you should be very careful playing with that file. mess it up and your system will be very broken.

-Jerry
#4
02/25/2006 (1:22 am)
Thanks for all your help. I had already broken the whole system so I ended up having to reformat and now if i run runTorque.sh from the Konsole program it all works fine.

Thanks again
Tim