[Ffmpeg-devel] Darwin/OSX Dylib support
Sun Sep 25 19:42:36 CEST 2005
On Sat, Sep 24, 2005 at 05:23:36PM -0400, Lina Pezzella wrote:
> 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,-
> >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: *** [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.
Much better, I'd apply this, except for this hunk:
> --- libavcodec/ppc/fdct_altivec.c 2005-08-05 15:15:34.000000000 -0400
> +++ libavcodec/ppc/fdct_altivec.c 2005-09-24 16:52:04.000000000 -0400
> @@ -18,7 +18,7 @@
> -#include "common.h"
> +#include "../../libavutil/common.h"
This should be fixed through the right -I options. Is it really
necessary? I cannot test right now, but my first guess is that it
should work without this change...
More information about the ffmpeg-devel