Ask Your Question
1

ros-fuerte-pcl missing dependency libmysqlclient_16

asked 2012-05-14 08:39:43 -0500

Sarah Osentoski gravatar image

I'm currently working on releasing a stack into fuerte. It depends on pcl and currently when I try to compile I am getting the following error:

Linking CXX executable ../bin/pointcloud_snapshot /opt/ros/fuerte/lib/libpcl_surface.so: undefined reference to `__cxa_pure_virtual@libmysqlclient_16' collect2: ld returned 1 exit status

After doing some web research I found a link to this ticket: https://code.ros.org/trac/ros-pkg/ticket/5415

While I believe that the fix (sudo apt-get install libmysqlclient-dev) will work to get it to install properly on my machine I need to make sure that for a generic install my code can be released. Is there something I need to do or should I open a ticket.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-05-14 11:31:38 -0500

Sarah Osentoski gravatar image

updated 2012-10-11 11:05:01 -0500

It turns out I was having dependency issues. If you see this error you should make sure that your dependencies, libmysqlclient_16 and libmysqlclient-dev have been updated.

If using ubuntu/debian, make sure to check that the update repositories are enabled by checking that /etc/apt/sources.list has something like:

deb http://archive.ubuntu.com/ubuntu lucid-updates universe main multiverse

with lucid replaced by whatever ubuntu release you have.

Or by checking in Synaptic in settings>repositores>updates>recommended updates checkbox.

edit flag offensive delete link more
1

answered 2012-08-17 04:29:17 -0500

Jep gravatar image

In my case (Ros electric, Ubuntu 10.04), it was necessary to install manually the pacakges for mysql-common, libmysqlclient16, libmysqlclient-dev and libmysqlclient16-dev instead of using a pacakage manager.

edit flag offensive delete link more

Comments

when you say manually are you saying specific versions were needed? Any idea what versions they were?

Asomerville gravatar image Asomerville  ( 2012-10-11 10:45:55 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2012-05-14 08:39:43 -0500

Seen: 394 times

Last updated: Oct 11 '12