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]
[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 ...
What are the commands you used to get to this error?
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
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.Did you try running 'rosdep update'? Or try installing roslua?
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).
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.
Again: please format your question properly. For long copy/pastes, select the text, then click the Preformatted text button (or press
ctrl+k
).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).