Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-30-2009, 07:44 PM
Sam123 Sam123 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 4
Sam123 is on a distinguished road
Default

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?

Last edited by Sam123 : 07-01-2009 at 12:56 PM.
Reply With Quote
  #2  
Old 07-01-2009, 03:10 AM
Stream Recorder
 
Posts: n/a
Default

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?
Reply With Quote
  #3  
Old 07-27-2009, 07:19 AM
flysub flysub is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
flysub is on a distinguished road
Default

Re: RTMPDump - how do I compile source code?


What is the diference betwen rtmpdump compiled by myself and rtmpdump already compiled ???
Reply With Quote
  #4  
Old 07-27-2009, 11:32 PM
Stream Recorder
 
Posts: n/a
Default

Re: RTMPDump - how do I compile source code?


Quote:
Originally Posted by flysub View Post
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.
Reply With Quote
  #5  
Old 03-21-2010, 12:10 PM
elch elch is offline
Member
 
Join Date: Mar 2010
Posts: 78
elch is on a distinguished road
Default

Re: RTMPDump - how do I compile source code?


The boost libs are not necessary anymore since it is now plain C code.
Reply With Quote
  #6  
Old 09-16-2010, 09:34 AM
marsm marsm is offline
Junior Member
 
Join Date: Sep 2010
Posts: 5
marsm is on a distinguished road
Default

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.
Reply With Quote
  #7  
Old 09-16-2010, 10:01 AM
marsm marsm is offline
Junior Member
 
Join Date: Sep 2010
Posts: 5
marsm is on a distinguished road
Default

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.
Reply With Quote
  #8  
Old 10-11-2010, 05:26 AM
orihancol orihancol is offline
Junior Member
 
Join Date: Oct 2010
Posts: 2
orihancol is on a distinguished road
Default

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!
Reply With Quote
  #9  
Old 10-30-2010, 04:17 PM
Skeeve Skeeve is offline
Junior Member
 
Join Date: Oct 2010
Posts: 5
Skeeve is on a distinguished road
Default

Re: RTMPDump - how do I compile source code?


I fixed it by installing openssl not to /usr/local/openssl but to /usr/local
Reply With Quote
  #10  
Old 10-31-2010, 03:08 AM
Skeeve Skeeve is offline
Junior Member
 
Join Date: Oct 2010
Posts: 5
Skeeve is on a distinguished road
Default

Re: RTMPDump - how do I compile source code?


Quote:
Originally Posted by Skeeve View Post
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
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 12:03 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons