[Ffmpeg-devel] Darwin/OSX Dylib support

Lina Pezzella J4rg0n
Sat Sep 24 23:23:36 CEST 2005

On Sep 23, 2005, at 6:55 AM, ffmpeg-devel-request at mplayerhq.hu wrote:

> Fails to build for me on OS X 10.3.9 after running ./configure
> --enable-shared --enable-gpl:
> make -C libavutil all
> cc -dynamiclib -Wl,-single_module,-undefined,dynamic_lookup -Wl,- 
> install_name,/usr/local/lib/libavutil.dylib,-current_version,,- 
> compatibility_version, -Wl,-dynamic,-search_paths_first -o  
> libavutil.dylib mathematics.o integer.o rational.o  
> intfloat_readwrite.o  -lz
> ld: -dylib_compatibility_version must be greater than zero
> /usr/bin/libtool: internal link edit command failed
> make[1]: *** [libavutil.dylib] Error 1
> make: *** [lib] Error 2

I've attached a new patch that puts the version information in the  
correct place in the configure file. Sorry about the mixup. I didn't  
catch it myself because I was compiling with both --enable-shared and  
--enable-shared-pp. This patch works with --enable-shared and -- 
enable-gpl on my Tiger 10.4.2 powerbook.

Lina Pezzella
Ebuild & Porting Co-Lead
Gentoo for OS X

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-osx-diff.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050924/5ccc4143/attachment.txt>

More information about the ffmpeg-devel mailing list