<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Does your rosdep.yaml file include a listing for '10.04' under ubuntu
or just '9.10'?  The file should be in your $ROS_ROOT path(should be
/home/karnad/myros/ros/ros for you).  I had to add '10.04' when I first
installed ROS.<br>
<br>
On 05/12/2010 07:36 PM, Nikhil Karnad wrote:
<blockquote
 cite="mid:AANLkTinTv5nWdSGfBis7m5NQLVI8fGeCPs0CvJJCcEoL@mail.gmail.com"
 type="cite">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 moz-do-not-send="true"
 href="http://ros.org/rosinstalls/boxturtle_ros.rosinstall">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 moz-do-not-send="true" href="http://pastebin.com/yi4tzxnm">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>
Nikhil<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ros-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>
<a class="moz-txt-link-freetext" href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>