When enable librtmp for ffmpeg, ffmpeg report librtmp not found.
The way for solving the problem is like thus.
Modify configure file like thus.
1. note off old enabled librtmp line
2. add one new line as followings
enabled librtmp && require2 libfaac "librtmp/rtmp.h" RTMP_Socket -lrtmp
Therefore, the configure file is as the followings after being modified.
#enabled librtmp && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket -lrtmp
enabled librtmp && require2 libfaac "librtmp/rtmp.h" RTMP_Socket -lrtmp
By the way, there existed other way for solving the problem.