[root@localhost rtmpdump-2.2a]# make posix? install SYS=linux prefix=/root/ffmpeg_build/ CRYPTO= SHARED= XDEF=-DNO_SSL make[1]: 进入目录“/root/ffmpeg_sources/rtmpdump-2.2a” make[2]: 进入目录“/root/ffmpeg_sources/rtmpdump-2.2a/librtmp” gcc -Wall?? -DRTMPDUMP_VERSION="v2.2a" -O2?? -c -o rtmp.o rtmp.c rtmp.c:37:25: 致命错误:openssl/ssl.h:没有那个文件或目录 ?#include <openssl/ssl.h> ???????????????????????? ^ 编译中断。 make[2]: *** [rtmp.o] 错误 1 make[2]: 离开目录“/root/ffmpeg_sources/rtmpdump-2.2a/librtmp” make[1]: *** [librtmp/librtmp.a] 错误 2 make[1]: 离开目录“/root/ffmpeg_sources/rtmpdump-2.2a” make: *** [posix] 错误 2
解决办法:
yum install openssl-devel
然后重新编译rtmp源码即可
make posix? install SYS=linux prefix=/root/ffmpeg_build/
|