Conflicting libtinyxml libraries - Kinetic
After a recent update I now am getting lots of warnings from catkin/cmake:
CMake Warning at /home/dave/ros/current/ws_moveit/src/moveit/moveit_setup_assistant/CMakeLists.txt:132 (add_executable):
Cannot generate a safe linker search path for target
moveit_setup_assistant_updater because files in some directories may
conflict with libraries in implicit directories:
link library [libtinyxml.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/opt/ros/kinetic/lib
Some of these libraries may not be found correctly.
It seems Kinetic is now shipping with
/opt/ros/kinetic/lib/libtinyxml.so
But ROS debians still depend on the system version:
/usr/lib/x86_64-linux-gnu/libtinyxml.a
/usr/lib/x86_64-linux-gnu/libtinyxml.so
/usr/lib/x86_64-linux-gnu/libtinyxml2.so.2.2.0
/usr/lib/x86_64-linux-gnu/libtinyxml.so.2.6.2
/usr/lib/x86_64-linux-gnu/libtinyxml2.so.2
/usr/share/doc/libtinyxml2.6.2v5
/usr/share/doc/libtinyxml-dev
/usr/share/doc/libtinyxml2-2v5
How did duplicate happen? How can I remove the hundreds of warnings? It also seems to broken my build of ros-kinetic-srdfdom.