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
  #21  
Old 02-23-2011, 02:35 AM
Yansky Yansky is offline
Member
 
Join Date: May 2010
Posts: 92
Yansky is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


Quote:
Originally Posted by goka View Post
Couldn't anyone just post a compiled version of rtmpdump 2.3 if they have succeeded in compiling it? It would be greatly appreciated!

The only downloadable precompiled version I could find was 1.6. It does the job so far, but I guess I'll bump in to some problems sooner than later.
Did you bother to read through the thread?
http://trick77.com/2010/07/31/captur...dump-mac-os-x/

Last edited by Yansky : 02-23-2011 at 02:38 AM. Reason: meh
Reply With Quote
  #22  
Old 03-15-2011, 07:11 PM
DaveFlash DaveFlash is offline
DaveFlash
 
Join Date: Mar 2011
Location: Netherlands
Posts: 4
DaveFlash is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


anyone have a rtmpdump 2.3 build?

cos im also having the same problem with compiling from src of "rtmpdump.mplayerhq.hu" I do have a correctly build install of 2.2 via macports, however, the port hasn't yet been updated to 2.3 so even if i could use macports again, im stuck with 2.2. so a standalone build outside of macports would be much appreciated.

//Dave

PS my os version on my main personal mac is an iMac with 10.5.8, do have a laptop from school (macbook pro with 10.6 on it, but because its still school property i cannot use it like i want, so streaming, no, cos high bandwidth apps/services are blocked etc.) however I did manage to fiddle with terminal on it, and got the method posted by jcj2002 working, so it did compile on 10.6.something, but unfortunately copying the compiled build from 10.6 and putting it on this mac (10.5.8) got me the "dyld: unknown required load command 0x80000022
Trace/BPT trap" error. Meaning it wont load on the older os/system.
Also, cannot currently upgrade this mac to 10.6.latest something version, because of timemachine problems. Upgrading would make my tm-backup go haywire/unsalvagable.. but alas thats a problem for a diiferent forum/place...

Last edited by DaveFlash : 03-15-2011 at 07:35 PM. Reason: addational data/info
Reply With Quote
  #23  
Old 03-16-2011, 06:53 AM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


Quote:
Originally Posted by DaveFlash View Post
While looking for a solution to the same problem as you guys "handshake.h:67:2: error: #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256" rtmpdump 2.3 apparently is not recognizing openssl1.0.0d as higher version than the minimum req. 0.9.8.

I'm have an iMac with OS X 10.5.8 and a Snow Leopard dualbooted macbookpro (both 10.6.6 [stable] + 10.6.7 [beta]), on both machine and all 3 OS versions I get the same error. The reason I specifically quoted the above was that I though trying the same edit on the makefile
Code:
LIB_OPENSSL=-lssl -lcrypto -ldl
would make the problem go away, but it didn't.

So any help will be appreciated. Also, even though you use Linux, it doesn't make a difference, because both linux and mac os ar based on Unix, which means the comandline/terminal is the same.

//Dave
No, unfortunately MacOSX is NOT the same as every other Unix system. That's why the README says to use "make SYS=darwin" on MacOSX.

You can't just go typing random stuff in here. If you don't know how to compile software on your OS, go learn how. MacOSX has no libdl, so of course randomly adding "-ldl" to a Makefile variable won't fix any of your problems. It would only cause more problems. If you don't understand what that sentence meant, you need to go learn more before you're ready to build this.

Quote:
finally make the project
Code:
make INC=-I/usr/local/ssl/include/ LDFLAGS=-L/usr/local/ssl/lib
This is the key step. If you installed a private copy of OpenSSL, you have to tell where that copy resides, and this is how it's done. If you don't get these paths right, then the compiler will only find the old version of OpenSSL that's in your default system location, and that's why you still get the complaint that your OpenSSL is too old even though you installed a newer one.
Reply With Quote
  #24  
Old 03-17-2011, 02:10 AM
Yansky Yansky is offline
Member
 
Join Date: May 2010
Posts: 92
Yansky is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


I always had trouble building with OpenSSL. I switched over to using PolarSSL and found it to be easier.
Reply With Quote
  #25  
Old 01-30-2012, 02:59 PM
greenythebeast greenythebeast is offline
Senior Member
 
Join Date: Dec 2011
Posts: 105
greenythebeast is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


I'm trying to build rtmpdump 2.4 with KSV's patch on Mac OS X 10.6.8 but I am getting the following error during the compiling:

Code:
Greenys-MacBook-Pro-2:rtmpdump Greeny$ sudo make install SYS=darwin
gcc -dynamiclib -twolevel_namespace -undefined dynamic_lookup -fno-common -headerpad_max_install_names -install_name /usr/local/lib/librtmp.0.dylib  -o librtmp.0.dylib rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
ln -sf librtmp.0.dylib librtmp.dylib
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsuck.o rtmpsuck.c
rtmpsuck.c: In function ‘ServeInvoke’:
rtmpsuck.c:162: error: thread-local storage not supported for this target
rtmpsuck.c:162: error: thread-local storage not supported for this target
make: *** [rtmpsuck.o] Error 1
Can anyone help me on what this means? Thanks.

Edit: I did some snooping on Google and was able to compile rtmpdump by getting rid of __thread on line 162 of rtmpsuck.c. Can anyone tell me if this is ok to do? Or will it not affect rtmpdump from working correctly?

Last edited by greenythebeast : 01-30-2012 at 03:56 PM.
Reply With Quote
  #26  
Old 07-19-2012, 01:42 PM
Eldorado Eldorado is offline
Junior Member
 
Join Date: Apr 2011
Posts: 15
Eldorado is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


I hate to ask what I know is a stupid question.. but...

I've installed OS X 10.7.3 thru VMWare, installed latest XCode 4.3, grabbed rtmpdump from git etc. Finally able to get it to compile using either of the two command lines (not really sure of the difference or how it affects the final bins)

Code:
sudo make install sys=posix
Code:
make sys=darwin
This is my first jump into OS X and even compiling source of this nature so am trying to get a grasp of it all

So my stupid question, my main goal is to compile a new librtmp.0.dylib file to be used on iOS.. since my compiles appear to go fine and I do see the executables in /usr/local/bin I'm assuming it all went good... but where do I find the librtmp.0.dylib file? Do I need to compile differently?

I'm hoping I'm not wasting my time compiling on OS X and finding out later that I should be doing it elsewhere to get something for iOS
Reply With Quote
  #27  
Old 07-01-2018, 10:49 AM
dariusii dariusii is offline
Junior Member
 
Join Date: Jun 2018
Posts: 8
dariusii is on a distinguished road
Default

Re: How do you compile rtmpdump in Mac OS X 10.6?


Quote:
Originally Posted by Eldorado View Post
I hate to ask what I know is a stupid question.. but...

I've installed OS X 10.7.3 thru VMWare, installed latest XCode 4.3, grabbed rtmpdump from git etc. Finally able to get it to compile using either of the two command lines (not really sure of the difference or how it affects the final bins)

Code:
sudo make install sys=posix
Code:
make sys=darwin
This is my first jump into OS X and even compiling source of this nature so am trying to get a grasp of it all

So my stupid question, my main goal is to compile a new librtmp.0.dylib file to be used on iOS.. since my compiles appear to go fine and I do see the executables in /usr/local/bin I'm assuming it all went good... but where do I find the librtmp.0.dylib file? Do I need to compile differently?

I'm hoping I'm not wasting my time compiling on OS X and finding out later that I should be doing it elsewhere to get something for iOS
there're errors anyway
Code:
 make sys=darwin
gcc -shared -Wl,-soname,librtmp.so.1  -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz -lm
ld: unknown option: -soname
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [librtmp.so.1] Error 1
make: *** [librtmp/librtmp.a] Error 2
$ cat Makefile | grep soname
$
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:26 PM.


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