Ask Your Question
0

'rospack' tries to load libboost_filesystem.so.1.46.1 in Ubuntu 14.04

asked 2014-09-19 16:52:31 -0600

kunaltyagi gravatar image

updated 2014-09-19 19:47:31 -0600

I have Ubuntu 14.04, and installed ROS Indigo using the steps documented here, but auto-completion using <tab> for $ roscd <package_name> gives the following error:

rospack: error while loading shared libraries: libboost_filesystem.so.1.46.1: cannot open shared object file: No such file or directory

rosstack: error while loading shared libraries: libboost_filesystem.so.1.46.1: cannot open shared object file: No such file or directory

So, I purged everything (boost and ROS) and re-installed ROS, with the exactly same results as above

  • Installed Boost version: 1.54.0-4ubuntu3.1 (via dpkg)
  • Installed rospack version: 2.2.5-0trusty-20140904-1937-+0000 (via dpkg)

Any ideas why?

edit retag flag offensive close merge delete

Comments

Can you check which version of rospack you are calling (which rospack)? And which version of rospack and boost you have installed (dpkg -l | grep rospack, dpkg -l | grep boost)?

Dirk Thomas gravatar imageDirk Thomas ( 2014-09-19 17:19:18 -0600 )edit

which rospack?

Dirk Thomas gravatar imageDirk Thomas ( 2014-09-19 21:04:46 -0600 )edit

/opt/ros/indigo/bin/rospack

kunaltyagi gravatar imagekunaltyagi ( 2014-09-19 21:43:49 -0600 )edit

Please run ldd /opt/ros/indigo/bin/rospack and post the line listing the boost filesystem library. Please run ll /PATH/TO/libboost_filesystem.so.VERSION to double check that it is not a symlink to an older version.

Dirk Thomas gravatar imageDirk Thomas ( 2014-09-20 16:37:13 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-05 16:04:25 -0600

kunaltyagi gravatar image

Hi all those who might face the problem. I resolved the problem by:

  • removing the /opt/ros directory, uninstalling ros-indigo-desktop-full and re-installing it.

Now everything's peachy.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-19 16:52:31 -0600

Seen: 883 times

Last updated: Oct 05 '14