Error while trying to link BulletRobotics

Post Reply
suhail
Posts: 3
Joined: Sat Jul 20, 2019 9:03 pm

Error while trying to link BulletRobotics

Post by suhail »

Hi.

I am trying to use the b3RobotSimulatorClientAPI in my project (ROS C++), so I am currently trying to link BulletRobotics with my project. I have installed bullet3 using cmake. So whenever I link BulletRobotics and create an object of b3RobotSimulatorClientAPI type, I get a build error

"usr/bin/ld: //usr/local/lib/libBulletRobotics.a(b3PluginManager.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status"

How do I solve this issue?
User avatar
drleviathan
Posts: 849
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: Error while trying to link BulletRobotics

Post by drleviathan »

The linker can't find the file: /usr/lib/gcc/x86_64-linux-gnu/libdl.so

Look for it to see if you have it.

The file path relies on you having a directory called: /usr/lib/gcc/x86_64-linux-gnu/5/

Do you have that directory?

That appears to be an old version of gcc. On my linux machine I see 6 and 7 installed but no 5.
Post Reply