Open danushkak opened 3 years ago
I think it happened because you copied headers into /opt/janus
while specified --prefix=/usr
.
I think it happened because you copied headers into
/opt/janus
while specified--prefix=/usr
.
What do you suggest? Where should I copy the headers and what commands should I execute?
I suggest you follow the commands here: https://github.com/shakurocom/janus-plugin-rtmp
I followed that. Since the janus installation path is different what do you suggest I use as the prefix
? --prefix=/opt/janus
?
I need to experiment to suggest, and not having time for that now. I use Janus in Docker containers and installing them in that very location.
Need to copy header files into build directory
mkdir janus-plugin-rtmp/janus
cp /janus-gateway/{.,plugins}/*.h janus-plugin-rtmp/janus
cd janus-plugin-rtmp
./configure --prefix=/opt/janus
make && sudo make install
I have installed Janus at
/opt/janus
with--libdir=/usr/lib64
.Did the following and got the error.
Also tried
$ ./configure --prefix=/usr --libdir=/usr/lib64
but got the same error.