Ask Your Question

fuerte packages trying to link with mysqlclient

asked 2012-04-06 01:34:38 -0500

updated 2012-04-06 01:35:03 -0500

Trying out the ROS fuerte release, various packages I try to build (e.g. gazebo_plugins) fail due to cmake trying to link with mysqlclient?!

Linking CXX shared library ../lib/
/usr/bin/ld: cannot find -lmysqlclient

AFAIK it shouldn't link with those libraries at all?! How can I find out where the mysql dependency / link flags are introduced?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-06 05:17:34 -0500

hsu gravatar image
rospack depends gazebo_plugins

returns list of package dependencies, then running

rospack libs-only-l

on the list via a shell script should show that in this case pcl_ros exports -lmysqlclient

$ rospack libs-only-l pcl_ros
pcl_keypoints pcl_registration pcl_features pcl_segmentation pcl_surface pcl_tracking  pcl_filters pcl_sample_consensus pcl_search pcl_visualization pcl_io pcl_kdtree pcl_octree flann_cpp flann_cpp-gd pcl_common mysqlclient pcl_ros_tf rosbag nodeletlib uuid poco_lite boost_fs_wrapper tinyxml roslib bondcpp message_filters roscpp rostime rosconsole roscpp_serialization xmlrpcpp dynamic_reconfigure_config_init_mutex tf boost_thread-mt BulletDynamics BulletCollision LinearMath sensor_msgs
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-04-06 01:34:38 -0500

Seen: 231 times

Last updated: Apr 06 '12