ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Boost (signals) library not found

asked 2013-02-05 22:03:43 -0500

Hansg91 gravatar image

updated 2013-02-05 22:09:41 -0500

Hello,

I am building ROS on Mac OSX from source, and when trying to run rosmake -a I get the following message for a number of packages:

ld: library not found for -l:/usr/local/lib/libboost_signals-mt.dylib

Boost 1.52 is installed and that file does exist, should I install a different version of boost? Or is something else perhaps going on?

edit retag flag offensive close merge delete

Comments

Just a small update, I tried installing boost 1.49, but I get the same error.

Hansg91 gravatar image Hansg91  ( 2013-02-06 08:03:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2013-02-06 09:01:23 -0500

Hansg91 gravatar image

Alright, I do not know why, but it appears some .pc files in ~/ros_catkin_ws/install_isolated/lib/pkgconfig contained links to libraries in the form of :

-l:/path/to/lib/lib.dylib

While it should have been :

-l/path/to/lib/lib.dylib

(minus the ':'). I removed all the ':' from these pc files and that fixed it. Perhaps I should open a ticket?

edit flag offensive delete link more

Comments

This should not be a problem, I just rebuilt the desktop variant last night (with the latest XCode and brew packages) and never ran into this problem. What version of OS X and XCode are you using?

WilliamWoodall gravatar image WilliamWoodall  ( 2013-02-08 09:40:31 -0500 )edit
1

I'm having same issue on OS X 10.7.5 and Xcode 4.6. Replacement of -l: with the following command solves it: find *.pc -print0 | xargs -0 sed -i .bak 's/\-l:/\-l/g'

Boris gravatar image Boris  ( 2013-02-22 00:10:20 -0500 )edit

If you've installed to /opt/ros/groovy, the following command should do the job. cd /opt/ros/groovy/lib/pkgconfig ; find . -name *.pc -print0 | xargs -0 sudo sed -i .bak 's/\-l:/\-l/g'

Noldorin gravatar image Noldorin  ( 2013-02-28 12:57:18 -0500 )edit

Just have had the same problem with Indigo!

Artem gravatar image Artem  ( 2014-10-04 10:32:44 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-02-05 22:03:43 -0500

Seen: 1,235 times

Last updated: Feb 06 '13