遇到同样的问题
my version is : live.2020.01.28.tar.gz I got the build error as fallow: clang: error: no such file or directory: '/usr/lib/libssl.46.dylib' clang: error: no such file or directory: '/usr/lib/libcrypto.44.dylib' make[1]: *** [testMP3Streamer] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 Thx for your response ^H^展开
this is caused by the latest live555, as we known, live555 don't maintain a release notes. for now, we provide a workaround for this. sudo apt-get install libssl-dev you can modify two makefile, add ssl dependency, just like below files: ./samples/demo/CMakeLists.txt set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-as-needed") if(cnstream_build_integrated_lib) target_link_libraries(${name} app-modules) target_link_libraries(${name} app-modules ssl) else() target_link_libraries(${name} app-rtsp_sink) target_link_libraries(${name} app-rtsp_sink ssl) ./tools/inspect/CMakeLists.txt if(WITH_RTSP) target_link_libraries(${name} ${Live555_LIBS} app-modules) target_link_libraries(${name} ${Live555_LIBS} app-modules ssl) endif() else() set(module_list core) @@ -67,6 +67,6 @@ else() endforeach() target_link_libraries(${name} ${depended_modules} dl glog pthread) if(WITH_RTSP) target_link_libraries(${name} ${Live555_LIBS} app-rtsp_sink) target_link_libraries(${name} ${Live555_LIBS} app-rtsp_sink ssl) endif() we will fix this with fixed version after legal verification. thanks for you kindly remind.展开
this is caused by the latest live555, as we known, live555 don't maintain a release notes.
for now, we provide a workaround for this.
sudo apt-get install libssl-dev
you can modify two makefile, add ssl dependency, just like below files:
./samples/demo/CMakeLists.txt
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-as-needed")
if(cnstream_build_integrated_lib)
target_link_libraries(${name} app-modules)
target_link_libraries(${name} app-modules ssl)
else()
target_link_libraries(${name} app-rtsp_sink)
target_link_libraries(${name} app-rtsp_sink ssl)
./tools/inspect/CMakeLists.txt
if(WITH_RTSP)
target_link_libraries(${name} ${Live555_LIBS} app-modules)
target_link_libraries(${name} ${Live555_LIBS} app-modules ssl)
endif()
else()
set(module_list core)
@@ -67,6 +67,6 @@ else()
endforeach()
target_link_libraries(${name} ${depended_modules} dl glog pthread)
if(WITH_RTSP)
target_link_libraries(${name} ${Live555_LIBS} app-rtsp_sink)
target_link_libraries(${name} ${Live555_LIBS} app-rtsp_sink ssl)
endif()
we will fix this with fixed version after legal verification. thanks for you kindly remind.
请登录后评论