What installed boost into /opt/ros?  You should be able to use the apt version on Lucid.<br><br>Josh<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 5:36 PM, Nikhil Karnad <span dir="ltr"><<a href="mailto:karnad@cs.umn.edu">karnad@cs.umn.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, my name is Nikhil and I'm trying to install ROS on Ubuntu but I've run into a linker library incompatibility with libboost. Any help is appreciated. Here are the specifics:<br>

<br>+ Operating system is Ubuntu 10.04 LTS (Lucid) 64-bit:<br>
              Linux beast 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux<br><br>+ First installed prerequisites:  <span style="font-family: courier new,monospace;">build-essential python-yaml cmake subversion wget</span><br>


<br>+ Used OS-neutral rosinstall method: <span style="font-family: courier new,monospace;">~/myros/rosinstall ~/myros/ros <a href="http://ros.org/rosinstalls/boxturtle_ros.rosinstall" target="_blank">http://ros.org/rosinstalls/boxturtle_ros.rosinstall</a></span><br>


<br>+ The files checkout correctly, but compilation does not work and exits with an error. The lines at the end are:<br><span style="font-family: courier new,monospace;">  [ 92%] Building CXX object CMakeFiles/roslib.dir/src/package.o</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">  [100%] Building CXX object CMakeFiles/roslib.dir/src/debug.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  Linking CXX shared library ../lib/libroslib.so</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">  /usr/bin/ld: skipping incompatible /opt/ros/lib/libboost_thread-gcc42-mt-1_37.so when searching for -lboost_thread-gcc42-mt-1_37</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">  /usr/bin/ld: skipping incompatible /opt/ros/lib/libboost_thread-gcc42-mt-1_37.a when searching for -lboost_thread-gcc42-mt-1_37</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">  /usr/bin/ld: cannot find -lboost_thread-gcc42-mt-1_37</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  collect2: ld returned 1 exit status</span><br style="font-family: courier new,monospace;">


<br>The complete log from "buildfailures-with-context.txt" is available at the following pastebin link:<br><a href="http://pastebin.com/yi4tzxnm" target="_blank">http://pastebin.com/yi4tzxnm</a><br><br>My guess: the shared object in /opt/ros/lib for libboost is a 32-bit ELF, whereas I need a 64-bit version. I deduced this by comparing the default boost shared object with the one in the /opt/ros library:<br>


<br><span style="font-family: courier new,monospace;">$ file /opt/ros/lib/libboost_thread-gcc42-mt-1_37.so.1.37.0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/opt/ros/lib/libboost_thread-gcc42-mt-1_37.so.1.37.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped</span><br style="font-family: courier new,monospace;">


<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$ file /usr/lib/libboost_thread.so.1.40.0 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/libboost_thread.so.1.40.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped</span><br style="font-family: courier new,monospace;">


<br>Could anyone tell me how I can recompile the libraries that go into /opt/ros/lib? Or more generally, how can I get it to work without using a different (32-bit) Linux?<br><br>Thanks in advance!<br><font color="#888888">Nikhil<br>


</font><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>