Ask Your Question

Catkin_make fails due to Bzip2 libraries on Raspberry Pi

asked 2015-08-15 09:09:02 -0500

UserK gravatar image

updated 2015-08-18 13:34:51 -0500

Hi, I'm using Ros Indigo installed on a Raspberry Pi model B. When I run catkin_make I get an error during the compilation of RosBag-storage package. The BZIP2_LIBRARIES BZIP2_INCLUDE_DIR are missing.

-- +++ processing catkin package: 'rosbag_storage'
-- ==> add_subdirectory(ros_comm/rosbag_storage)
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   program_options
--   regex CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):   Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) Call Stack (most recent call first):   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)   /usr/share/cmake-2.8/Modules/FindBZip2.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)   ros_comm/rosbag_storage/CMakeLists.txt:8 (find_package)

-- Configuring incomplete, errors occurred! Invoking "cmake" failed

How can I add these libraries?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-21 10:27:45 -0500

UserK gravatar image

Just install libbz2-dev package with:

sudo apt-get install libbz2-dev

This package contains the header files required to compile your rosbag_storage.

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


Asked: 2015-08-15 09:09:02 -0500

Seen: 929 times

Last updated: Aug 21 '15