I am trying to install rtmpdump in a shared hosting account with 1and1.com.
The server details are...
Debian GNU/Linux 8 (jessie)
Linux 3.14.0-ui16294-uiabi1-infong-amd64 x86_64
After untarring rtmpdump-2.2e I try to run "make" and I get...
fatal error: openssl/ssl.h: No such file or directory
I don't think I can install openssl "properly" as I don't have root access, so I have instead installed it under my home directory, following the advice I found on this site (not all of which I understand):
https://github.com/magnumripper/John...t-have-OpenSSL
wget
www.openssl.org/source/openssl-1.1.0c.tar.gz
tar xvf openssl-1.1.0c.tar.gz
cd openssl-1.1.0c
./Configure --prefix=/my/full/path/to/home/ssl linux-x86_64
make -sj4 build_libs
make install_sw
I can now see all the header files (including ssl.h) with:
ls ~/ssl/include/openssl
I'm not sure what to do next. I guess I somehow need to compile rtmpdump in such a way that it looks in the right place (under my home directory) for the openssl header files.
I have tried this:
make INC=-I/my/full/path/to/home/ssl/include
and it does seem to get rid of the error about the missing ssl.h file,
but instead I get loads of compilation errors, for example...
In file included from handshake.h:79:0,
from rtmp.c:125:
dh.h: In function 'DHInit':
dh.h:213:12: error: dereferencing pointer to incomplete type
MP_new(dh->g);
^
dh.h:128:19: note: in definition of macro 'MP_new'
#define MP_new(m) m = BN_new()
^
If anyone can help me make some progress with this it would be much appreciated.