零声教育的微服务IM即时通讯 ,IM模块编译报错了,有小伙伴遇到过吗,怎么解决的!
/usr/bin/ld: warning: liblog4cxx.so.10, needed by /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::File::File(char const*)'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::fatal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::getLogger(char const*)'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::helpers::ObjectPtrBase::exchange(void**, void*)'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::trace(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::PropertyConfigurator::configureAndWatch(log4cxx::File const&, long)'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::File::~File()'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `typeinfo for log4cxx::helpers::ObjectPtrBase'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::info(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::helpers::ObjectPtrBase::~ObjectPtrBase()'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::warn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::Logger::debug(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /home/lee/CodingStudio/0voice_im-master/server/src/slog/libslog.so: undefined reference to `log4cxx::helpers::ObjectPtrBase::ObjectPtrBase()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/route_server.dir/build.make:129: route_server] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/route_server.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
make msfs failed
