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 10-31-2010, 05:28 PM
Skeeve Skeeve is offline
Junior Member
 
Join Date: Oct 2010
Posts: 5
Skeeve is on a distinguished road
Default

Problem compiling rtmpdump 2.3 on Mac OS X: Undefined symbols: _EVP_sha256


I tried to compile rtmpdump on my OS X 10.5.

When compiling with

make SYS=darwin

I get

Quote:
gcc -o librtmp.0.dylib rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz -I/usr/local/include
Undefined symbols:
"_EVP_sha256", referenced from:
_InitRC4Encryption in rtmp.o
_InitRC4Encryption in rtmp.o
_HMACsha256 in rtmp.o
_RTMP_HashSWF in hashswf.o
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [librtmp.0.dylib] Error 1
make: *** [librtmp/librtmp.a] Error 2
Then I changed the "SYS=posix" lines in the 2 Makefile-s to read "SYS=darwin" and then it (seemed to) compile using just

make

But when I run 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

Additionally the rtmpsrv crashes with a bus error as soon as it receives traffic:

Quote:
(gdb) run
Starting program: /usr/local/sbin/rtmpsrv
Reading symbols for shared libraries ++++++. done
RTMP Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xb0082000
[Switching to process 66187 thread 0x117]
0xffff068b in ?? ()
Can anyone pleas help me?
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 11:09 AM.


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