[FFmpeg-user] Static compile with librtmp

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Nov 8 21:02:22 CET 2012


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

> On Thursday, November 8, 2012 at 11:21 AM, Carl Eugen Hoyos wrote:
> > Young Kim <shadowing71 <at> gmail.com (http://gmail.com)> writes:
> > 
> > > /home/ykim/encodebuild/lib/librtmp.so: undefined reference to `dlsym'
> > 
> > What is the output of:
> > $ pkg-config --libs librtmp
> > ?

> this: -L/home/ykim/encodebuild/lib -lrtmp -lz -lssl -lcrypto

Could be broken, otoh, it looks similar here, but does
$ ldd /home/ykim/encodebuild/lib/librtmp.so
show libdl.so ?

Since you already have to use --extra-libs, just add -ldl

Carl Eugen



More information about the ffmpeg-user mailing list