1
我想從源代碼構建kurento媒體服務器:https://github.com/Kurento/kurento-media-server構建kurento媒體服務器錯誤
最後我得到這個錯誤信息:
[email protected]:~/kurento-media-server$ make kurento-media-server
[ 26%] Built target websocketTransport
[ 33%] Built target transport
Linking CXX executable kurento-media-server
/usr/bin/ld: CMakeFiles/kurento-media-server.dir/loadConfig.cpp.o: undefined reference to symbol '_ZNK5boost10filesystem4path3endEv'
//usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.55.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [server/kurento-media-server] Error 1
make[2]: *** [server/CMakeFiles/kurento-media-server.dir/all] Error 2
make[1]: *** [server/CMakeFiles/kurento-media-server.dir/rule] Error 2
make: *** [kurento-media-server] Error 2
它告訴我要補充 - lboost_system,我認爲它應該在gcc或g ++之後添加,但由cmake生成的Makefiles很複雜,我無法找到添加它的位置。