missing symbol from libroscpp.so?
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 libroscpp.so in ROS Indigo I can find it, but in Kinetic I do not!
Any ideas?
Are you actually compiling on Ubuntu version X, then trying to run the same binaries on Ubuntu version Y?