rospack ends with "rosboost_cfg.rosboost_cfg.BoostError"
While I'm trying to build the stack someone made 2 years ago, I started having this error since a week ago and haven't been able to remove it.
% rospack libs-only-L --deps-only packageA
Traceback (most recent call last):
File "/opt/ros/diamondback/ros/bin/rosboost-cfg", line 35, in <module>
rosboost_cfg.main()
File "/opt/ros/diamondback/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", line 359, in main
output = lflags(ver, options.lflags.split(','))
File "/opt/ros/diamondback/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", line 276, in lflags
print >> s, lib_flags(ver, lib),
File "/opt/ros/diamondback/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", line 265, in lib_flags
lib = find_lib(ver, name)
File "/opt/ros/diamondback/ros/tools/rosboost_cfg/src/rosboost_cfg/rosboost_cfg.py", line 246, in find_lib
raise BoostError('Could not locate library [%s] in lib directory [%s]'%(name, dir))
rosboost_cfg.rosboost_cfg.BoostError: 'Could not locate library [math] in lib directory [/usr/lib]'
[rospack] warning: got non-zero exit status from executing backquote expression "ret="-Wl,-rpath,/home/ros-user/Documents/Workspace_Eclipse/packageA/crowdnav_common/lib -L/home/ros-user/Documents/Workspace_Eclipse/packageA/crowdnav_common/lib -lcrowdnav_common `rosboost-cfg --lflags math,signals,thread`" && echo $ret" in [/home/ros-user/Documents/Workspace_Eclipse/packageA/crowdnav_common/manifest.xml]
[rospack] error in backquote expansion for packageA
I can't detect where this package designates the "math" library, nor from where rosboost_cfg.py is called (seems like rospack.cpp doesn't call it).
Env) Ubuntu 10.10, diamondback/electric (same under either distribution)
Thanks.
Update 9/9/2011) In response to the suggestion, I checked libboost-math-dev which I found is already installed as follows:
/usr/share/doc/libboost-math1.42-dev
/usr/share/doc/libboost-math1.42.0
/usr/share/doc/libboost-math-dev
/usr/share/lintian/overrides/libboost-math1.42.0
But the error log indicates it searched /usr/lib. Any way to modify/add the search path? I looked at rosboost_cfg.py where I couldn't find one.
Update 9/9/2011 #2)
In /usr/lib, many libboost_math* files are found, which seems to correspond to the files of libboost_math-dev (note that incl. underscore) that is defined in ubuntu's web site.
Update 9/13/2011)
Modifying rosboost_cfg.py as https://code.ros.org/trac/ros/attachment/ticket/3671/rosboost_cfg.py.20110912.diff bypassed the error. However, since I haven't regression tested, side effect might occur.