Ask Your Question

missing symbol from

asked 2016-09-02 07:49:18 -0500

MariaKrgr gravatar image

Hello there,

I built a ROS package in Ubuntu 14.04 LTS and ROS Indigo and now I test these executables that I built in different Linux and ROS distributions. Giving an example, when I setup a VM with Ubuntu 12.04 LTS and ROS Hydro everything worked fine.

Now I am trying to run my package in Ubuntu 16.04 LTS and ROS Kinetic and I am getting this error:

maria@maria-VirtualBox:~/devel/lib/execDir$ ./executableName 
./executableName: symbol lookup error: ./executableName: undefined symbol: _ZN3ros4initERiPPcRKSsj

and when I filter the symbol:

maria@maria-VirtualBox:~/devel/lib/execDir$ echo _ZN3ros4initERiPPcRKSsj|c++filt
ros::init(int&, char**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)

Also If i search for this symbol in in ROS Indigo I can find it, but in Kinetic I do not!

Any ideas?

edit retag flag offensive close merge delete


Are you actually compiling on Ubuntu version X, then trying to run the same binaries on Ubuntu version Y?

gvdhoorn gravatar image gvdhoorn  ( 2016-09-02 11:52:50 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-09-04 16:11:02 -0500

ahendrix gravatar image

ROS does not guarantee ABI compatibility between major versions, and neither does Ubuntu. The ROS developers do their best to make sure that there aren't ABI changes within patch releases for a particular version of ROS, but sometimes they slip through testing too.

I don't expect your experiment to work, and I'm not surprised that it doesn't.

edit flag offensive delete link more

answered 2016-09-05 07:51:33 -0500

MariaKrgr gravatar image

After a long search I found out that there is an ABI incompatibility between ROS Indigo and later ROS distros in library.

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

1 follower


Asked: 2016-09-02 07:49:18 -0500

Seen: 387 times

Last updated: Sep 05 '16