Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

RTMPDump - how do I compile source code in Linux like Ubuntu?

(http://stream-recorder.com/forum/showthread.php?t=4229)

Sam123 06-30-2009 06:44 PM

RTMPDump - how do I compile source code in Linux like Ubuntu?


 
Ok, I got the source code for rtmpdump but what do I do with it? What do I use to compile it into a program?

Stream Recorder 07-01-2009 02:10 AM

Re: RTMPDump - how do I compile source code?


 
Related threads:
How do you compile rtmpdump in Mac OS X 10.6?
RTMPDump - how do I compile source code in Windows?

flysub 07-27-2009 06:19 AM

Re: RTMPDump - how do I compile source code?


 
What is the diference betwen rtmpdump compiled by myself and rtmpdump already compiled ???

Stream Recorder 07-27-2009 10:32 PM

Re: RTMPDump - how do I compile source code?


 
Quote:

Originally Posted by flysub (Post 12094)
What is the diference betwen rtmpdump compiled by myself and rtmpdump already compiled ???

IMHO some people don't like torrents, so they can't download the binary of rtmpdump, but the source code can be downloaded easily.

Plus compiling is useful for those who are intended to make changes to rtmpdump.

elch 03-21-2010 11:10 AM

Re: RTMPDump - how do I compile source code?


 
The boost libs are not necessary anymore since it is now plain C code.

marsm 09-16-2010 08:34 AM

Re: RTMPDump - how do I compile source code?


 
I've been trying to compile the latest version (2.30) of RTMP in Centos, 64-bit... keep getting errors - can someone please point me in the right direction...

I type in make sys-linux

I then get this back:

# make sys=linux
make[1]: Entering directory `/rtmpdump/librtmp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/rtmpdump/librtmp'
gcc -Wall -o rtmpgw rtmpgw.o thread.o -Llibrtmp -lrtmp -lssl -lcrypto -lz
thread.o: In function `ThreadCreate':
thread.c.text+0x46): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [rtmpgw] Error 1

Any help would be massively appreciated.

I've also done this:

# make linux
make: *** No rule to make target `linux'. Stop.

marsm 09-16-2010 09:01 AM

Re: RTMPDump - how do I compile source code?


 
I have finally complied it - now I have a new error:

rtmpdump: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory

Once again, any advice would be appreciated.

orihancol 10-11-2010 04:26 AM

Re: RTMPDump - how do I compile source code?


 
Hello Marsm!

I also get error like you do:
thread.o: In function `ThreadCreate':
thread.c.text+0x46): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make: *** [rtmpgw] Error 1

Can you help me fix this error ?
Thanks much!

Skeeve 10-30-2010 03:17 PM

Re: RTMPDump - how do I compile source code?


 
I fixed it by installing openssl not to /usr/local/openssl but to /usr/local

Skeeve 10-31-2010 02:08 AM

Re: RTMPDump - how do I compile source code?


 
Quote:

Originally Posted by Skeeve (Post 22632)
I fixed it by installing openssl not to /usr/local/openssl but to /usr/local

Not fixed :-(

When running rtmpdump I get

Quote:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
dyld: lazy symbol binding failed: Symbol not found: _EVP_sha256
Referenced from: /usr/local/lib/librtmp.0.dylib
Expected in: flat namespace

dyld: Symbol not found: _EVP_sha256
Referenced from: /usr/local/lib/librtmp.0.dylib
Expected in: flat namespace

Trace/BPT trap
rtmpsrv gives me a Bus Error when accessing it :(


All times are GMT -6. The time now is 05:15 AM.