[FFmpeg-user] Static compile with librtmp

Roger Pack rogerdpack2 at gmail.com
Fri Nov 9 16:17:26 CET 2012


> >
> Actually, I think it still compiled incorrectly. I get this when I run
> anything with a ramp url:
>
> $ 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 could try compiling librtmp as "static" and use that instead, possibly.
(delete librtmp.so*, then compile rtmp like  $make install SHARED=no )

-r


More information about the ffmpeg-user mailing list