Guys please help,I am a beginner and I cannot install the mongodb_log package for logging data to mongodb database. Here is the error. [closed]

asked 2016-03-10 04:18:56 -0600

nishthapa gravatar image

updated 2016-03-11 06:28:41 -0600

gvdhoorn gravatar image
[rosbuild] Building package mongodb_log Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests mongodb_log 
[rospack] Error: package 'mongodb_log' depends on non-existent package 'roslua' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'
CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message):       Failed to invoke rospack to get compile flags for package 'mongodb_log'.
Look above for errors from rospack itself.  Aborting.
Please fix the   broken dependency!
Call Stack (most recent call first):   /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
CMakeLists.txt:12 (rosbuild_init)   -- Configuring incomplete, errors occurred! See also "/home/nishant/catkin_ws/src/mongodb_log/build/CMakeFiles/CMakeOutput.log".
make: *** [all] Error 1

EDIT

Installing roslua fixed the previous issue but i am plagued by numerous new ones. Here is the error again on make :

Linking CXX executable ../bin/mongodb_log_cimg
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::~Socket()':
(.text+0x1086): undefined reference to `SSL_shutdown'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::~Socket()':
(.text+0x1092): undefined reference to `SSL_free'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_handleSendError(int, char const*)':
(.text+0x2276): undefined reference to `SSL_get_error'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_handleSendError(int, char const*)':
(.text+0x229d): undefined reference to `ERR_get_error'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_handleSendError(int, char const*)':
(.text+0x22a7): undefined reference to `ERR_error_string'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_handleRecvError(int, int, int*)':
(.text+0x2b7c): undefined reference to `SSL_get_error'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_handleRecvError(int, int, int*)':
(.text+0x2ba3): undefined reference to `ERR_get_error'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_handleRecvError(int, int, int*)':
(.text+0x2bad): undefined reference to `ERR_error_string'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_send(char const*, int)':
(.text+0x1180): undefined reference to `SSL_write'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::_recv(char*, int)':
(.text+0x11b0): undefined reference to `SSL_read'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_ssl_connect(ssl_st*)':
(.text+0x290): undefined reference to `SSL_connect'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_ssl_connect(ssl_st*)':
(.text+0x2a1): undefined reference to `SSL_get_error'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_getSSLErrorMessage(int)':
(.text+0x300): undefined reference to `ERR_error_string_n'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupFIPS()':
(.text+0x353): undefined reference to `FIPS_mode_set'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupFIPS()':
(.text+0x3bd): undefined reference ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-03-29 16:47:34.133265

Comments

What are the commands you used to get to this error?

Airuno2L gravatar imageAiruno2L ( 2016-03-10 05:20:20 -0600 )edit

I followed the basic command from the mongodb_log package page : 1) git clone https://github.com/timn/ros-mongodb_l... mongodb_log 2) cd mongodb_log 3) make

nishthapa gravatar imagenishthapa ( 2016-03-10 05:28:26 -0600 )edit
1

Please format your question properly. In it's current state this is illegible.

Use the Preformatted text button (the one with 101010 on it) to format console copy/pastes.

gvdhoorn gravatar imagegvdhoorn ( 2016-03-10 07:01:04 -0600 )edit

Did you try running 'rosdep update'? Or try installing roslua?

Airuno2L gravatar imageAiruno2L ( 2016-03-10 11:15:38 -0600 )edit

Slow down guys, i am a mere newbie. I followed all the instructions for roslua but could not install roslua itself. How do i do it ? (I installed all the required packages for roslua but not roslua itself).

nishthapa gravatar imagenishthapa ( 2016-03-11 05:00:01 -0600 )edit

Never mind roslua. Thank you Airuno2L. I was finally able to install roslua and doing so fixed this issue but a new one has come up. I have shown it in the description above.

nishthapa gravatar imagenishthapa ( 2016-03-11 05:08:58 -0600 )edit

Again: please format your question properly. For long copy/pastes, select the text, then click the Preformatted text button (or press ctrl+k).

gvdhoorn gravatar imagegvdhoorn ( 2016-03-11 06:29:20 -0600 )edit

Just a guess: Are you linking to the required libraries? Without knowing the specifics of your package, I would suggest that you check whether you have all "run_depends" tags in package.xml set correctly (not only build_depends).

Felix Endres gravatar imageFelix Endres ( 2016-03-11 10:33:10 -0600 )edit