Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Program doesn't compile as lobglog.so not found, Glog compilation gives libglog.a What to do?

Program doesn't compile as lobglog.so not found, Glog compilation gives libglog.a What to do?

usr/bin/ld: warning: libglog.so.0, needed by /usr/local/lib/libopencv_sfm.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libopencv_sfm.so: undefined reference to google::base::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)' Makefile:156: recipe for target 'brightnessDetector' failed /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::LogMessage(char const, int, int)' /usr/local/lib/libopencv_sfm.so: undefined reference to google::base::CheckOpMessageBuilder::~CheckOpMessageBuilder()' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::base::CheckOpMessageBuilder::ForVar2()' /usr/local/lib/libopencv_sfm.so: undefined reference to google::kLogSiteUninitialized' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::stream()' /usr/local/lib/libopencv_sfm.so: undefined reference to google::InitGoogleLogging(char const*)' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessageFatal::LogMessageFatal(char const, int, google::CheckOpString const&)' /usr/local/lib/libopencv_sfm.so: undefined reference to google::base::CheckOpMessageBuilder::NewString()' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::LogMessage(char const, int)' /usr/local/lib/libopencv_sfm.so: undefined reference to fLI::FLAGS_v' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::InitVLOG3__(int, int, char const, int)' /usr/local/lib/libopencv_sfm.so: undefined reference to google::LogMessageFatal::~LogMessageFatal()' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::~LogMessage()' /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessageFatal::LogMessageFatal(char const, int)' collect2: error: ld returned 1 exit status make: * [brightnessDetector] Error 1 20:12:17: The process "/usr/bin/make" exited with code 2.

Program doesn't compile as lobglog.so libglog.so not found, Glog compilation gives libglog.a What to do?

Program doesn't compile as lobglog.so not found, Glog compilation gives libglog.a What to do?

usr/bin/ld: warning: libglog.so.0, needed by /usr/local/lib/libopencv_sfm.so, not found (try using -rpath or -rpath-link) /usr/local/lib/libopencv_sfm.so: undefined reference to google::base::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)' Makefile:156: recipe for target 'brightnessDetector' failed /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::LogMessage(char const, int, int)' /usr/local/lib/libopencv_sfm.so: undefined reference to google::base::CheckOpMessageBuilder::~CheckOpMessageBuilder()' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::base::CheckOpMessageBuilder::ForVar2()' /usr/local/lib/libopencv_sfm.so: undefined reference to google::kLogSiteUninitialized' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::stream()' /usr/local/lib/libopencv_sfm.so: undefined reference to google::InitGoogleLogging(char const*)' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessageFatal::LogMessageFatal(char const, int, google::CheckOpString const&)' /usr/local/lib/libopencv_sfm.so: undefined reference to google::base::CheckOpMessageBuilder::NewString()' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::LogMessage(char const, int)' /usr/local/lib/libopencv_sfm.so: undefined reference to fLI::FLAGS_v' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::InitVLOG3__(int, int, char const, int)' /usr/local/lib/libopencv_sfm.so: undefined reference to google::LogMessageFatal::~LogMessageFatal()' /usr/local/lib/libopencv_sfm.so: undefined reference togoogle::LogMessage::~LogMessage()' /usr/local/lib/libopencv_sfm.so: undefined reference to `google::LogMessageFatal::LogMessageFatal(char const, int)' collect2: error: ld returned 1 exit status make: * [brightnessDetector] Error 1 20:12:17: The process "/usr/bin/make" exited with code 2.