[rtmpdump] Linking problem on OS-X

Thorsten Philipp thorstenphilipp at me.com
Sun Jan 9 22:12:57 CET 2011


Hi,

after building ffmpeg with librtmp in a folder other than /usr/local librtmp couldn't be found.

I can't code C and don't know how Macs work. But this solves the problem.

Index: librtmp/Makefile
===================================================================
--- librtmp/Makefile	(revision 555)
+++ librtmp/Makefile	(working copy)
@@ -51,7 +51,7 @@
 SODIR=$(SODIR_$(SYS))
 
 SO_LDFLAGS_posix=-shared -Wl,-soname,$@
-SO_LDFLAGS_darwin=-dynamiclib -flat_namespace -undefined suppress -fno-common \
+SO_LDFLAGS_darwin=-dynamiclib -install_name $(SODIR_darwin)/librtmp.$(SO_EXT) -flat_namespace -undefined suppress -fno-common \
 	-headerpad_max_install_names
 SO_LDFLAGS_mingw=
 SO_LDFLAGS=$(SO_LDFLAGS_$(SYS))



Regards
Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3737 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20110109/157141bb/attachment.bin>


More information about the rtmpdump mailing list