Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

[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 nishant@NishantZ--PC:~/catkin_ws/src/mongodb_log$

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.error on executing make.

[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'   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'.   'mongodb_log'.
Look above for errors from rospack itself.  Aborting.  Aborting.
Please fix the   broken dependency!  dependency!
Call Stack (most recent call first):   /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)   (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". "/home/nishant/catkin_ws/src/mongodb_log/build/CMakeFiles/CMakeOutput.log".
make: * *** [all] Error 1 nishant@NishantZ--PC:~/catkin_ws/src/mongodb_log$

1

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 on executing make.error.

[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 toSSL_shutdown' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::~Socket()': (.text+0x1092): undefined reference toSSL_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 toSSL_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 toERR_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 toERR_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 toSSL_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 toERR_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 toERR_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 toSSL_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 toSSL_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 toSSL_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 toSSL_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 toERR_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 toFIPS_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 toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x454): undefined reference toSSL_CTX_use_certificate_chain_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x4aa): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x507): undefined reference toSSL_CTX_set_default_passwd_cb_userdata' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x516): undefined reference toSSL_CTX_set_default_passwd_cb' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x527): undefined reference toSSL_CTX_use_PrivateKey_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x57d): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x5b4): undefined reference toSSL_CTX_check_private_key' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x5ec): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCA(std::string const&)': (.text+0x6a9): undefined reference toSSL_CTX_load_verify_locations' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCA(std::string const&)': (.text+0x701): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCA(std::string const&)': (.text+0x760): undefined reference toSSL_CTX_set_verify' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x7e4): undefined reference toSSL_CTX_get_cert_store' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x7fd): undefined reference toX509_STORE_set_flags' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x802): undefined reference toX509_LOOKUP_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x80d): undefined reference toX509_STORE_add_lookup' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x827): undefined reference toX509_load_crl_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x87e): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': (.text+0x9e9): undefined reference toSSL_new' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': (.text+0xa00): undefined reference toSSL_set_fd' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': (.text+0xa99): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': (.text+0xadb): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_handleSSLError(int)': (.text+0xdad): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x1201): undefined reference toSSL_library_init' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x1206): undefined reference toSSL_load_error_strings' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x120b): undefined reference toERR_load_crypto_strings' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x1216): undefined reference toOPENSSL_add_all_algorithms_noconf' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::connect(int)': (.text+0x1394): undefined reference toSSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::connect(int)': (.text+0x13bc): undefined reference toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::accept(int)': (.text+0x1404): undefined reference toSSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::accept(int)': (.text+0x141a): undefined reference toSSL_accept' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::accept(int)': (.text+0x1429): undefined reference toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x1487): undefined reference toSSL_get_peer_certificate' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x1493): undefined reference toX509_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x14aa): undefined reference toSSL_get_verify_result' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x1542): undefined reference toX509_verify_cert_error_string' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x17ca): undefined reference toSSLv23_method' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x17d2): undefined reference toSSL_CTX_new' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x17f2): undefined reference toSSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1806): undefined reference toSSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1817): undefined reference toSSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1823): undefined reference toCRYPTO_set_id_callback' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x182f): undefined reference toCRYPTO_set_locking_callback' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x185a): undefined reference toCRYPTO_num_locks' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1cf5): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::cleanupThreadLocals()': (.text+0x2c3): undefined reference toERR_remove_state' collect2: error: ld returned 1 exit status make[3]: * [../bin/mongodb_log_cimg] Error 1 make[3]: Leaving directory /home/nishant/catkin_ws/src/mongodb_log/build' make[2]: *** [CMakeFiles/mongodb_log_cimg.dir/all] Error 2 make[2]: Leaving directory/home/nishant/catkin_ws/src/mongodb_log/build' make[1]: [all] Error 2 make[1]: Leaving directory `/home/nishant/catkin_ws/src/mongodb_log/build' make: ** [all] Error 2

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.error on executing make.

[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()': /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function `mongo::Socket::~Socket()': (.text+0x1086): undefined reference toSSL_shutdown' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::~Socket()': 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 toSSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_handleSendError(int, 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 toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_handleSendError(int, 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 toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_handleSendError(int, 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 toERR_error_string' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_handleRecvError(int, 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 toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_handleRecvError(int, 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 toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_handleRecvError(int, 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 toERR_error_string' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_send(char 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 toSSL_write' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(sock.o): In function mongo::Socket::_recv(char*, 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 toSSL_read' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_ssl_connect(ssl_st*)': 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 toSSL_connect' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_ssl_connect(ssl_st*)': 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 toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_getSSLErrorMessage(int)': 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 toERR_error_string_n' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupFIPS()': 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 toFIPS_mode_set' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupFIPS()': 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 toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x454): undefined reference toSSL_CTX_use_certificate_chain_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `SSL_CTX_use_certificate_chain_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x4aa): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x507): undefined reference toSSL_CTX_set_default_passwd_cb_userdata' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `SSL_CTX_set_default_passwd_cb_userdata' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x516): undefined reference toSSL_CTX_set_default_passwd_cb' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `SSL_CTX_set_default_passwd_cb' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x527): undefined reference toSSL_CTX_use_PrivateKey_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `SSL_CTX_use_PrivateKey_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x57d): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x5b4): undefined reference toSSL_CTX_check_private_key' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupPEM(std::string to `SSL_CTX_check_private_key' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupPEM(std::string const&, std::string const&)': (.text+0x5ec): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCA(std::string to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCA(std::string const&)': (.text+0x6a9): undefined reference toSSL_CTX_load_verify_locations' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCA(std::string to `SSL_CTX_load_verify_locations' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCA(std::string const&)': (.text+0x701): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCA(std::string to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCA(std::string const&)': (.text+0x760): undefined reference toSSL_CTX_set_verify' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string to `SSL_CTX_set_verify' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x7e4): undefined reference toSSL_CTX_get_cert_store' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string to `SSL_CTX_get_cert_store' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x7fd): undefined reference toX509_STORE_set_flags' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string to `X509_STORE_set_flags' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x802): undefined reference toX509_LOOKUP_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string to `X509_LOOKUP_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x80d): undefined reference toX509_STORE_add_lookup' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string to `X509_STORE_add_lookup' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x827): undefined reference toX509_load_crl_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_setupCRL(std::string to `X509_load_crl_file' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_setupCRL(std::string const&)': (.text+0x87e): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_secure(int)': (.text+0x9e9): undefined reference toSSL_new' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': to `SSL_new' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_secure(int)': (.text+0xa00): undefined reference toSSL_set_fd' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': to `SSL_set_fd' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_secure(int)': (.text+0xa99): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_secure(int)': to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_secure(int)': (.text+0xadb): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_handleSSLError(int)': to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_handleSSLError(int)': (.text+0xdad): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x1201): undefined reference toSSL_library_init' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams to `SSL_library_init' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x1206): undefined reference toSSL_load_error_strings' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams to `SSL_load_error_strings' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x120b): undefined reference toERR_load_crypto_strings' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::_initializeSSL(mongo::SSLParams to `ERR_load_crypto_strings' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::_initializeSSL(mongo::SSLParams const&)': (.text+0x1216): undefined reference toOPENSSL_add_all_algorithms_noconf' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::connect(int)': to `OPENSSL_add_all_algorithms_noconf' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::connect(int)': (.text+0x1394): undefined reference toSSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::connect(int)': to `SSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::connect(int)': (.text+0x13bc): undefined reference toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::accept(int)': to `SSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::accept(int)': (.text+0x1404): undefined reference toSSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::accept(int)': to `SSL_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::accept(int)': (.text+0x141a): undefined reference toSSL_accept' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::accept(int)': to `SSL_accept' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::accept(int)': (.text+0x1429): undefined reference toSSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st to `SSL_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x1487): undefined reference toSSL_get_peer_certificate' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st to `SSL_get_peer_certificate' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x1493): undefined reference toX509_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st to `X509_free' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x14aa): undefined reference toSSL_get_verify_result' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::validatePeerCertificate(ssl_st to `SSL_get_verify_result' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::validatePeerCertificate(ssl_st const*)': (.text+0x1542): undefined reference toX509_verify_cert_error_string' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `X509_verify_cert_error_string' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x17ca): undefined reference toSSLv23_method' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `SSLv23_method' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x17d2): undefined reference toSSL_CTX_new' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `SSL_CTX_new' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x17f2): undefined reference toSSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `SSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1806): undefined reference toSSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `SSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1817): undefined reference toSSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `SSL_CTX_ctrl' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1823): undefined reference toCRYPTO_set_id_callback' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `CRYPTO_set_id_callback' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x182f): undefined reference toCRYPTO_set_locking_callback' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `CRYPTO_set_locking_callback' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x185a): undefined reference toCRYPTO_num_locks' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::SSLManager(mongo::SSLParams to `CRYPTO_num_locks' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::SSLManager(mongo::SSLParams const&)': (.text+0x1cf5): undefined reference toERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function mongo::SSLManager::cleanupThreadLocals()': to `ERR_get_error' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libmongoclient.a(ssl_manager.o): In function `mongo::SSLManager::cleanupThreadLocals()': (.text+0x2c3): undefined reference toERR_remove_state' to `ERR_remove_state' collect2: error: ld returned 1 exit status make[3]: * *** [../bin/mongodb_log_cimg] Error 1 make[3]: Leaving directory /home/nishant/catkin_ws/src/mongodb_log/build' `/home/nishant/catkin_ws/src/mongodb_log/build' make[2]: *** [CMakeFiles/mongodb_log_cimg.dir/all] Error 2 make[2]: Leaving directory/home/nishant/catkin_ws/src/mongodb_log/build' directory `/home/nishant/catkin_ws/src/mongodb_log/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/nishant/catkin_ws/src/mongodb_log/build' make: ** *** [all] Error 2

2