Make rtmpdump work the hard way

Make rtmpdump work the hard way with YLE Areena and yle-dl.

At least on Debian Squeeze the package manager version of rtmpdump won't work with YLE Areena and yle-dl. No help is compiling rtmpdump from sources because the required openssl libraries provided by package manager are too old. So we need a way to compile rtmpdump against our own (newer) openssl libraries, this is how to do it.

For build you will need libtool and zlib1g-dev, probably also other tools.

Begin by compiling openssl:

tar xzf openssl-1.0.1c.tar.gz
cd openssl-1.0.1c

It is not necessary to install the just built openssl to make rtmpdump work.

  • go to /usr/local/src/rtmpdump/
  • alter following files accordingly:

in Makefile:
add to LDFLAGS: -ldl

in both Makefile and librtmp/Makefile:
add to LIB_OPENSSL: -I/usr/local/src/openssl-1.0.1c/include -L/usr/local/src/openssl-1.0.1c

compile with:
make INC="-static -I/usr/local/src/openssl-1.0.1c/include -L/usr/local/src/openssl-1.0.1c"

install rtmpdump:
make install

This should be it! Now you should have rtmpdump linked against the newest libssl, ready to be used with yle-dl.

If you installed openssl, then you can use this instead:
-I/usr/local/ssl/include -L/usr/local/ssl/lib

{{ message }}

{{ 'Comments are closed.' | trans }}