Page 1 of 1

Error while trying to link BulletRobotics

Posted: Sat Jul 20, 2019 9:13 pm
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?

Re: Error while trying to link BulletRobotics

Posted: Mon Jul 22, 2019 3:11 pm
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.