[ros-users] Installation build failure: incompatible boost library
Nikhil Karnad
karnad at cs.umn.edu
Sat May 15 18:00:24 UTC 2010
Update: I got it to work.
@Kim: I had not checked that entry in the rosdep.yaml file. It could have
been the reason.
@Josh,Kim: I was using the "pre-compiled binaries install" instructions from
this page:
http://www.ros.org/wiki/ROS/Installation/Ubuntu/Deb#Ubuntu_install_.28Pre-compiled_binaries.29
but, it appears that the following line does not work...
deb http://code.ros.org/packages/ros/ubuntu lucid main
...because the URL http://code.ros.org/packages/ros/ubuntu/ does not have a
'dists/lucid' directory. Instead, I tried Hardy (8.04) which was linking
libboost-xx-37 instead of libboost-xx-40. Then I cleaned up and used the
Karmic repository and it works fine. I tested it with turtlesim and some of
the other beginner tutorials. Thank you both for the follow-ups!
New issue: When I tried rviz, the table and coffee cup run well in gazebo,
but the PR2 model does not load. My linux just freezes when I run "roslaunch
pr2_gazebo pr2.launch". From one of the previous forum posts, it looks like
I ran into a DRI/graphics card issue with my Intel GM965/GL960 graphics
controller.
- Nikhil
----
On Fri, May 14, 2010 at 11:14 AM, Kim Houck <kim_houck at yahoo.com> wrote:
> 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.
>
>
> On 05/12/2010 07:36 PM, Nikhil Karnad wrote:
>
> 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:
>
> + Operating system is Ubuntu 10.04 LTS (Lucid) 64-bit:
> Linux beast 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28
> 13:28:05 UTC 2010 x86_64 GNU/Linux
>
> + First installed prerequisites: build-essential python-yaml cmake
> subversion wget
>
> + Used OS-neutral rosinstall method: ~/myros/rosinstall ~/myros/ros
> http://ros.org/rosinstalls/boxturtle_ros.rosinstall
>
> + The files checkout correctly, but compilation does not work and exits
> with an error. The lines at the end are:
> [ 92%] Building CXX object CMakeFiles/roslib.dir/src/package.o
> [100%] Building CXX object CMakeFiles/roslib.dir/src/debug.o
> Linking CXX shared library ../lib/libroslib.so
> /usr/bin/ld: skipping incompatible
> /opt/ros/lib/libboost_thread-gcc42-mt-1_37.so when searching for
> -lboost_thread-gcc42-mt-1_37
> /usr/bin/ld: skipping incompatible
> /opt/ros/lib/libboost_thread-gcc42-mt-1_37.a when searching for
> -lboost_thread-gcc42-mt-1_37
> /usr/bin/ld: cannot find -lboost_thread-gcc42-mt-1_37
> collect2: ld returned 1 exit status
>
> The complete log from "buildfailures-with-context.txt" is available at the
> following pastebin link:
> http://pastebin.com/yi4tzxnm
>
> 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:
>
> $ file /opt/ros/lib/libboost_thread-gcc42-mt-1_37.so.1.37.0
> /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
>
> $ file /usr/lib/libboost_thread.so.1.40.0
> /usr/lib/libboost_thread.so.1.40.0: ELF 64-bit LSB shared object, x86-64,
> version 1 (SYSV), dynamically linked, stripped
>
> 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?
>
> Thanks in advance!
> Nikhil
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.orghttps://code.ros.org/mailman/listinfo/ros-users
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100515/cafcece9/attachment-0004.html>
More information about the ros-users
mailing list