Forums

Full Version: Ubuntu 12.04 (x64): libBulletDynamics.so.2.80 error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I just installed vdrift through playondeb. When starting from command line i get this error:

xxx@xxxxxx:~$ vdrift -verbose
vdrift: error while loading shared libraries: libBulletDynamics.so.2.80: cannot open shared object file: No such file or directory

when I try with gdb (found in this forum), I get:

xxx@xxxxx:~$ gdb vdrift
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright © 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/games/vdrift...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/games/vdrift
/usr/games/vdrift: error while loading shared libraries: libBulletDynamics.so.2.80: cannot open shared object file: No such file or directory
[Inferior 1 (process 3529) exited with code 0177]
(gdb) exit
Undefined command: "exit". Try "help".
(gdb) quit
xxx@xxxxxxx:~$

Anyone any ideas? I am guessing it has something to do with http://bulletphysics.org/ but this should come installed with the game no?

thanks in advance for any advice
Hi, try:

apt-get install libbullet
(03-17-2013, 08:07 PM)NaN Wrote: [ -> ]Hi, try:

apt-get install libbullet

Hi,

I tried, but I got E: Unable to locate package libbullet

I searched for the correct repository but couldn't find it. I did install playdeb though, I guess the libraries were in that package?

tx,

T
I am not using debian/buntu. But I think it is called libbullet0: http://www.ubuntuupdates.org/package/get.../libbullet
xxx@xxxxx:~$ sudo apt-get install libbullet0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libbullet0 is already the newest version.
libbullet0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.

again no luck Sad
If I had to guess I would say the playdeb guys have updated bullet lib to 2.81 but didn't rebuild vdrift. I'd suggest to report the issue to them, so that they can fix it.
(03-21-2013, 03:43 PM)NaN Wrote: [ -> ]If I had to guess I would say the playdeb guys have updated bullet lib to 2.81 but didn't rebuild vdrift. I'd suggest to report the issue to them, so that they can fix it.

seems logic! I sent them a message

tx for the help.

T
Quote:I tried compiling with bullet 2.81 but it fails with this message:
src/cardynamics.cpp: In static member function 'static bool
CARDYNAMICS::WheelContactCallback(btManifoldPoint&, const btCollisionObject*,
int, int, const btCollisionObject*, int, int)':
src/cardynamics.cpp:1807:77: error: 'const class btCollisionObject' has no
member named 'getRootCollisionShape'
scons: *** [build/cardynamics.o] Error 1

Because you are registered in the forum, can you please ask if bullet 2.81 is
supported by vdrift.

Hey I just got word from they guys at playdeb (see quote above). Does vdrift support bullet 2.81?

tx

T
There is a patch for the last release http://sourceforge.net/projects/vdrift/f...f/download
(03-23-2013, 08:05 AM)NaN Wrote: [ -> ]There is a patch for the last release http://sourceforge.net/projects/vdrift/f...f/download

Dear NaN,

could you please tell me what do you do with this patch, where do I have to copy it ?

Thanks beforehand for your help.

Ivan.
Place the diff into vdrift directory(unpacked tar.bz2) and run:
patch < vdrift-2012-07-22c_bullet281_patch.diff
(03-24-2013, 09:55 AM)NaN Wrote: [ -> ]Place the diff into vdrift directory(unpacked tar.bz2) and run:
patch < vdrift-2012-07-22c_bullet281_patch.diff

Hi, thanks for your help but I have an issue with the command:

root@xxxxx:/usr/share/games/vdrift# patch < vdrift-2012-07-22c_bullet281_patch.diff
(Stripping trailing CRs from patch.)
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- data/skins/simple/menus/AssignControl Mon Jan 19 23:26:36 1970
|+++ data/skins/simple/menus/AssignControl Mon Jan 19 23:26:36 1970
--------------------------
File to patch:

it ends in a prompt? what should I put in?

thx in adv
Yeah, it is a relative path patch. Use:
patch -p0 < vdrift-2012-07-22c_bullet281_patch.diff