How do I link a non ros library dependency in a catkin package?
So I am trying to use the biotac_drivers package here: https://github.com/kth-ros-pkg/biotac...
I would like to link to "/lib/x86_64-linux-gnu/libdl.so.2".
I know how to link a ROS package just fine but I'm coming up empty on how to link system dependencies.
On hydro, Ubuntu 3.11.10
Just incase I'm completely wrong on what I need to do here is the error:
Linking CXX executable /home/ablasdel/catkin_ws/devel/lib/biotac_sensors/biotac_pub
/usr/bin/ld: CMakeFiles/biotac_pub.dir/src/cheetah.c.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libdl.so.2 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libdl.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: * [/home/ablasdel/catkin_ws/devel/lib/biotac_sensors/biotac_pub] Error 1
make[1]: * [biotac_driver/biotac_sensors/CMakeFiles/biotac_pub.dir/all] Error 2
make: * [all] Error 2
Invoking "make" failed