Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#21
|
|||
|
|||
Re: How do you compile rtmpdump in Mac OS X 10.6?Quote:
http://trick77.com/2010/07/31/captur...dump-mac-os-x/ Last edited by Yansky : 02-23-2011 at 02:38 AM. Reason: meh |
#22
|
|||
|
|||
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 |
#23
|
|||
|
|||
Re: How do you compile rtmpdump in Mac OS X 10.6?Quote:
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:
|
#24
|
|||
|
|||
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.
|
#25
|
|||
|
|||
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 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. |
#26
|
|||
|
|||
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 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 |
#27
|
|||
|
|||
Re: How do you compile rtmpdump in Mac OS X 10.6?Quote:
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 $ |
Tags: compile, compile rtmpdump, mac, mac os, mac os x, macintosh, macosx, rtmp dump, rtmpdump |
Thread Tools | |
Display Modes | |
|
|