Ask Your Question
0 vs. 1.54 on armhf (rpi3)

asked 2017-10-31 14:15:26 -0500

clyde gravatar image

updated 2017-11-05 13:10:57 -0500

Hi, I'm compiling ROS Kinetic from source for the Raspberry Pi 3. Recently I started getting a lot of these warnings:

Scanning dependencies of target rosout
[ 50%] Building CXX object CMakeFiles/rosout.dir/rosout.cpp.o
[100%] Linking CXX executable /home/pi/ros_catkin_ws/devel_isolated/rosout/lib/rosout/rosout
/usr/bin/ld: warning:, needed by /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/, may conflict with
/usr/bin/ld: warning:, needed by /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../arm-linux-gnueabihf/, may conflict with
[100%] Built target rosout

These don't seem to affect anything, but I'd like to understand more about why these started appearing.

Edit: I have headers for 1.55.0 installed via apt, and libraries for 1.54.0 and 1.55.0:

pi@raspberry:~$ find / -name* | less
pi@raspberry:~$ ls -l /usr/lib/arm-linux-gnueabihf/
lrwxrwxrwx 1 root root 25 Sep 24  2014 /usr/lib/arm-linux-gnueabihf/ ->
edit retag flag offensive close merge delete


Do you have multiple versions of Boost installed?

gvdhoorn gravatar image gvdhoorn  ( 2017-11-04 06:51:45 -0500 )edit

1.55.0 and 1.54.0, see edits

clyde gravatar image clyde  ( 2017-11-05 13:11:13 -0500 )edit

Hmmm, looking at /var/log/apt/history.log, it appears that both versions were installed by rosdep. First "apt-get install -y libboost-all-dev", which pulled in all of 1.55, then "apt-get install -y libconsole-bridge-dev" which pulled in 2 libraries from 1.54.

clyde gravatar image clyde  ( 2017-11-06 10:51:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-05 14:10:08 -0500

gvdhoorn gravatar image

updated 2017-11-06 03:54:41 -0500

Multiple boost versions on the same machine can work, but typically only if you keep them strictly separate. See #q274016 for another question about that and some thoughts.

Did you build the 'other Boost' from sources? It can't have just "turned up" on its own.

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: 2017-10-31 14:15:26 -0500

Seen: 771 times

Last updated: Nov 05 '17