The Body Changer
kilamlapo 18 Jan, 2015 @ 2:22pm
Problem with linux
I'm probably out of luck but i have the following error log:

"ERROR: ld.so: object '/home/xxxxx/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/xxxxx/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Setting breakpad minidump AppID = 324390
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198045435653 [API loaded no]
-------------------------------------------------------
-------------------------------------------------------
The Body Changer V0.5.28
Python 2.7.6
wxPython 2.8.12.1
-------------------------------------------------------
Ogre 1.8.1 (Byatis)
OIS 1.3 Caelum r451 NEWTON 1.53 CEGUI 0.7.5 OgreAL 1.1
-------------------------------------------------------
-------------------------------------------------------
*******************************************************
Steamworks.API_VERSION 1.31
steamworks.PY_VERSION 0.4
*******************************************************

OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./bin/plugins_1.8.1/Plugin_CgProgramManager. System Error: libCg.so: cannot open shared object file: No such file or directory in DynLib::load at /home/alessio/development/ogre_src_v1-8-1/OgreMain/src/OgreDynLib.cpp (line 93)
Traceback (most recent call last):
File "<string>", line 3096, in <module>
File "build/TheBodyChanger/out00-PYZ.pyz/OgreApplication", line 5271, in go
File "build/TheBodyChanger/out00-PYZ.pyz/OgreApplication", line 5330, in _setUp
ogre.renderer.OGRE._ogre_exceptions_.OgreInternalErrorException: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./bin/plugins_1.8.1/Plugin_CgProgramManager. System Error: libCg.so: cannot open shared object file: No such file or directory in DynLib::load at /home/alessio/development/ogre_src_v1-8-1/OgreMain/src/OgreDynLib.cpp (line 93)"
< >
Showing 1-15 of 15 comments
alexius  [developer] 18 Jan, 2015 @ 3:24pm 
use Ubuntu Software Center, search and install libcg (Nvidia Cg core runtime library)
Last edited by alexius; 19 Jan, 2015 @ 8:39am
kilamlapo 18 Jan, 2015 @ 3:41pm 
I installed nvidia-cd-toolkit but nothing has changed, Same error log (I don't copy it, it's the same). Any other idea?
alexius  [developer] 19 Jan, 2015 @ 4:51am 
Originally posted by kilam.rauon:
(...)OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./bin/plugins_1.8.1/Plugin_CgProgramManager. System Error: libCg.so: cannot open shared object file: No such file or directory (...)

you need libCg.so in your system.
libcg (Nvidia Cg core runtime library) will copy libCg.so on your system.

try open the terminal and write "locate libCg.so", if the command gives no output it means you have not that file installed in your system.
The only way I know to install the correct version of that file in a ubuntu system is to install libcg.

let me know :)
demonixis 1 Feb, 2015 @ 6:21am 
Hi,


I've a a similair issue but I'm running on Fedora 21 (x64)



ERROR: ld.so: object '/home/yann/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/yann/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
-------------------------------------------------------
-------------------------------------------------------
The Body Changer V0.5.29
Python 2.7.6
wxPython 2.8.12.1
-------------------------------------------------------
Ogre 1.8.1 (Byatis)
OIS 1.3 Caelum r451 NEWTON 1.53 CEGUI 0.7.5 OgreAL 1.1
-------------------------------------------------------
-------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 53, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "build/TheBodyChanger/out00-PYZ.pyz/OgreApplication", line 16, in <module>
File "/usr/local/lib/python2.7/dist-packages/PyInstaller-2.1.1dev_-py2.7.egg/PyInstaller/loader/pyi_importers.py", line 276, in load_module
File "build/TheBodyChanger/out00-PYZ.pyz/apt", line 35, in <module>
SystemError: E:Unable to determine a suitable packaging system type



I don't have apt. Is a Debian Like exclusivity ? How can I solve this problem ?
alexius  [developer] 2 Feb, 2015 @ 3:49am 
Hi demonixis :)

Sorry: TBC don't support RPM ditro (like Fedora).
Only APT (btw, tested only on Ubuntu).
Check OS requirements on store page ;)

- Alessio
demonixis 6 Feb, 2015 @ 11:32pm 
Hi Alexius,


Thanks for your answer but it's too bad... Steam for Linux is a platform for ... Linux, why are you stopping to Ubuntu ? Why APT is necessary to play with TBC ? I don't understand because it's just a package manager, not a graphics driver or a sound driver or anything else...


Steam for Linux is for Linux, you've a Penguin left behind your description, it means "Hey guys it's a Linux game". Ok here are a big Ubuntu logo but the penguin is still here. Moreover your game appear in the Linux Section.


Linux != Ubuntu but Ubuntu is a Linux distribution. Because of that, I can't recommend anymore TBC to my friends on Linux, it's too bad but you've made a choice, me too now.


I'm very sad to say that because I'm a supporter from the first time with Effing Dead on IndieGogo.

Good continuation.
alexius  [developer] 7 Feb, 2015 @ 5:14am 
No choice made, only an opportunity to play TBC for Debian OS users (like Ubuntu)
That's why we wrote "Ubuntu" on requirement to warn Linux user.

I'll let you know if the next release will avoid the use of APT.

FYI, in any case, I used Ubuntu because (for example here -> http://store.steampowered.com/about/?l=english and in some Steam page for the developers) Valve says "Ubuntu is our favorite version of Linux". I thought it was the right *first step* to do.

- Alessio
Txster 30 Apr, 2015 @ 7:40pm 
Just a note to signify my interest in a rpm version -- Fedora here too :P If/When it happens I'll be happy to test out the linux version in addition to windows one.
alexius  [developer] 12 May, 2015 @ 5:21am 
I've tested TBC 0.9.1 on Fedora and it works.

TBC is a 32-bit app so, if you have 64-bit OS, in order to play TBC:
sudo yum -y install glibc.i686

In my (virtualized) Fedora 21 64-bit I had to install:
yum install libxcb.i686 --setopt=protected_multilib=false yum install mesa-libGLU.i686

Then, from Nvidia Cg Toolkit site[developer.nvidia.com] download and install the Linux 32-bit RPM package.

If TBC runs (it runs?) without any sound you need OpenAL, so try:
yum install openal-soft.i686 yum install pulseaudio-libs yum install libpulse.so.0

Please let me know if it works :)

Alessio - TheShortAndTheTall
Last edited by alexius; 12 May, 2015 @ 5:22am
demonixis 14 May, 2015 @ 12:09pm 
Good news, Thanks I'll try this asap ;)
cybertorture 11 Jun, 2015 @ 4:55pm 
For ubuntu 15.04_amd64 - if this problem goes on install
libcg:i386
libxcb-shm0:i386
libglu1-mesa:i386
EL MEN 25 Dec, 2015 @ 6:22pm 
Originally posted by cybertorture:
For ubuntu 15.04_amd64 - if this problem goes on install
libcg:i386
libxcb-shm0:i386
libglu1-mesa:i386

Thanks for the advice, this works for me:steamhappy:
stan 10 Apr, 2016 @ 6:04am 
The game should provide the libs it needs and it could then work on (almost) all the linux distros out of the box. I wanted to buy it but seeing this thread I’ll click "not interested" instead.
wirroj 10 Apr, 2016 @ 1:15pm 
Come on Linux users, you should know how to install software packages for your Linux system of choice, it's not the job of game developers to tell you how to use your Linux distro. This game didn't work OTB on my system either, but now I've installed lib32-glu and lib32-nvidia-cg-toolkit the problem is resolved - and I'm not using Debian.
Seegras 29 Aug, 2018 @ 2:45am 
It told me to install libcg, so I did "apt-get install libcg" and it works. Come on, stop complaining, because you're complaining about your own inability to install a package.
< >
Showing 1-15 of 15 comments
Per page: 15 30 50