avbot安装出错


#1

本人新手,希望得到大家的帮助 谢谢

[root@localhost download]# rpm -ivh avbot-7.1-1.i386.rpm error: Failed dependencies: libc.so.6(GLIBC_2.7) is needed by avbot-7.1-1.i386 libc.so.6(GLIBC_2.8) is needed by avbot-7.1-1.i386 libc.so.6(GLIBC_2.9) is needed by avbot-7.1-1.i386 libcrypto.so.1.0.0 is needed by avbot-7.1-1.i386 libcrypto.so.1.0.0(OPENSSL_1.0.0) is needed by avbot-7.1-1.i386 libssl.so.1.0.0 is needed by avbot-7.1-1.i386 libssl.so.1.0.0(OPENSSL_1.0.0) is needed by avbot-7.1-1.i386 libssl.so.1.0.0(OPENSSL_1.0.1) is needed by avbot-7.1-1.i386 libstdc++.so.6(GLIBCXX_3.4.11) is needed by avbot-7.1-1.i386 libstdc++.so.6(GLIBCXX_3.4.15) is needed by avbot-7.1-1.i386 libstdc++.so.6(GLIBCXX_3.4.9) is needed by avbot-7.1-1.i386

我需要安装这些依赖么


#2

可能是你系统版本太低了,是CentOS 5.X吗?


#3

是centos 6+


#4

Determining if the pthread_create exist failed with the following output: Change Dir: /data0/avbot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake “cmTryCompileExec3048064746/fast” /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3048064746.dir/build.make CMakeFiles/cmTryCompileExec3048064746.dir/build gmake[1]: Entering directory /data0/avbot/build/CMakeFiles/CMakeTmp' /usr/local/bin/cmake -E cmake_progress_report /data0/avbot/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3048064746.dir/CheckSymbolExists.c.o /usr/bin/cc -fvisibility=hidden -o CMakeFiles/cmTryCompileExec3048064746.dir/CheckSymbolExists.c.o -c /data0/avbot/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3048064746 /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3048064746.dir/link.txt --verbose=1 /usr/bin/cc -fvisibility=hidden CMakeFiles/cmTryCompileExec3048064746.dir/CheckSymbolExists.c.o -o cmTryCompileExec3048064746 -rdynamic CMakeFiles/cmTryCompileExec3048064746.dir/CheckSymbolExists.c.o: In functionmain’: CheckSymbolExists.c:(.text+0xc): undefined reference to pthread_create' collect2: ld returned 1 exit status gmake[1]: Leaving directory/data0/avbot/build/CMakeFiles/CMakeTmp’ gmake[1]: *** [cmTryCompileExec3048064746] Error 1 gmake: *** [cmTryCompileExec3048064746/fast] Error 2

File /data0/avbot/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h>

int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif }

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /data0/avbot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake “cmTryCompileExec503506464/fast” /usr/bin/gmake -f CMakeFiles/cmTryCompileExec503506464.dir/build.make CMakeFiles/cmTryCompileExec503506464.dir/build gmake[1]: Entering directory /data0/avbot/build/CMakeFiles/CMakeTmp' /usr/local/bin/cmake -E cmake_progress_report /data0/avbot/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec503506464.dir/CheckFunctionExists.c.o /usr/bin/cc -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec503506464.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec503506464 /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec503506464.dir/link.txt --verbose=1 /usr/bin/cc -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec503506464.dir/CheckFunctionExists.c.o -o cmTryCompileExec503506464 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status gmake[1]: Leaving directory/data0/avbot/build/CMakeFiles/CMakeTmp’ gmake[1]: *** [cmTryCompileExec503506464] Error 1 gmake: *** [cmTryCompileExec503506464/fast] Error 2