[FFmpeg-user] Static compile with librtmp

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Nov 8 23:09:17 CET 2012


Young Kim <shadowing71 <at> gmail.com> writes:

> $ encodebuild/bin/ffmpeg -re -i video.mp4 rtmp://localhost/oflaDemo/test
> encodebuild/bin/ffmpeg: error while loading shared libraries: 
> librtmp.so.0: cannot open shared object file: No such file or directory

You did provide the path to librtmp.so at compile 
time (instead of putting the library in a default 
location), you have to do the same at runtime.
(LD_LIBRARY_PATH)

Carl Eguen



More information about the ffmpeg-user mailing list