New submission from thomas.p <[email protected]>:

Hi all,

I downloaded the latest version of FFmpeg and used ./configure --enable-shared
--disable-static --enable-pthreads.
I updated make to version 3.81.
MAC version is 10.4.11.
Compilation failed with the following error :

lcd ./libavcodec/ && ln -sf libavcodec.52.dylib libavcodec.dylib
gcc -dynamiclib -Wl,-single_module
-Wl,-install_name,/usr/local/lib/libavformat.dylib,-current_version,52.37.0,-compatibility_version,52
-Wl,-read_only_relocs,suppress
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavcodec
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavdevice
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavfilter
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavformat
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavutil
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libpostproc
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libswscale
-Wl,-dynamic,-search_paths_first  -o libavformat/libavformat.52.dylib
libavformat/allformats.o libavformat/cutils.o libavformat/metadata.o
libavformat/metadata_compat.o libavformat/options.o libavformat/os_support.o
libavformat/sdp.o libavformat/utils.o libavformat/avio.o libavformat/aviobuf.o
libavformat/raw.o libavformat/id3v1.o libavformat/id3v2.o libavformat/adtsenc.o
libavformat/aiff.o libavformat/riff.o libavformat/amr.o libavformat/apc.o
libavformat/ape.o libavformat/apetag.o libavformat/asfdec.o libavformat/asf.o
libavformat/asfcrypt.o libavformat/avlanguage.o libavformat/asfenc.o
libavformat/assdec.o libavformat/assenc.o libavformat/au.o libavformat/avidec.o
libavformat/avienc.o libavformat/swfenc.o libavformat/avs.o libavformat/vocdec.o
libavformat/voc.o libavformat/bethsoftvid.o libavformat/bfi.o libavformat/c93.o
libavformat/crcenc.o libavformat/daud.o libavformat/dsicin.o libavformat/dv.o
libavformat/dvenc.o libavformat/dxa.o libavformat/eacdata.o
libavformat/electronicarts.o libavformat/ffmdec.o libavformat/ffmenc.o
libavformat/flacdec.o libavformat/oggparsevorbis.o libavformat/flacenc.o
libavformat/flic.o libavformat/flvdec.o libavformat/flvenc.o libavformat/avc.o
libavformat/4xm.o libavformat/framecrcenc.o libavformat/gif.o libavformat/gxf.o
libavformat/gxfenc.o libavformat/audiointerleave.o libavformat/idcin.o
libavformat/iff.o libavformat/img2.o libavformat/ipmovie.o libavformat/iss.o
libavformat/lmlm4.o libavformat/matroskadec.o libavformat/matroska.o
libavformat/isom.o libavformat/matroskaenc.o libavformat/mm.o libavformat/mmf.o
libavformat/mov.o libavformat/movenc.o libavformat/mp3.o libavformat/mpc.o
libavformat/mpc8.o libavformat/mpegenc.o libavformat/mpeg.o libavformat/mpegts.o
libavformat/mpegtsenc.o libavformat/mpjpeg.o libavformat/msnwc_tcp.o
libavformat/mtv.o libavformat/mvi.o libavformat/mxfdec.o libavformat/mxf.o
libavformat/mxfenc.o libavformat/ncdec.o libavformat/nsvdec.o
libavformat/nutdec.o libavformat/nut.o libavformat/nutenc.o libavformat/nuv.o
libavformat/oggdec.o libavformat/oggparseflac.o libavformat/oggparseogm.o
libavformat/oggparsespeex.o libavformat/oggparsetheora.o libavformat/oggenc.o
libavformat/oma.o libavformat/pva.o libavformat/qcp.o libavformat/r3d.o
libavformat/rtsp.o libavformat/rl2.o libavformat/rmdec.o libavformat/rm.o
libavformat/rmenc.o libavformat/idroq.o libavformat/rpl.o libavformat/rtp.o
libavformat/rtp_aac.o libavformat/rtp_amr.o libavformat/rtp_asf.o
libavformat/rtp_h263.o libavformat/rtp_mpv.o libavformat/rtpenc.o
libavformat/rtpenc_h264.o libavformat/rdt.o libavformat/rtp_vorbis.o
libavformat/rtpdec.o libavformat/rtp_h264.o libavformat/segafilm.o
libavformat/siff.o libavformat/smacker.o libavformat/sol.o libavformat/soxdec.o
libavformat/soxenc.o libavformat/psxstr.o libavformat/swfdec.o libavformat/thp.o
libavformat/tiertexseq.o libavformat/tmv.o libavformat/tta.o libavformat/txd.o
libavformat/vc1test.o libavformat/vc1testenc.o libavformat/sierravmd.o
libavformat/vocenc.o libavformat/vqf.o libavformat/wav.o libavformat/wc3movie.o
libavformat/westwood.o libavformat/wv.o libavformat/xa.o libavformat/yuv4mpeg.o
libavformat/file.o libavformat/gopher.o libavformat/http.o
libavformat/rtmpproto.o libavformat/rtmppkt.o libavformat/rtpproto.o
libavformat/tcp.o libavformat/udp.o -lavcodec -lavutil -lz -lbz2 -lm cd
./libavformat/ && ln -sf libavformat.52.dylib libavformat.dylib
gcc -dynamiclib -Wl,-single_module
-Wl,-install_name,/usr/local/lib/libavdevice.dylib,-current_version,52.2.0,-compatibility_version,52
-Wl,-read_only_relocs,suppress
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavcodec
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavdevice
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavfilter
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavformat
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavutil
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libpostproc
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libswscale
-Wl,-dynamic,-search_paths_first  -o libavdevice/libavdevice.52.dylib
libavdevice/alldevices.o -lavformat -lavcodec -lavutil -lz -lbz2 -lm cd
./libavdevice/ && ln -sf libavdevice.52.dylib libavdevice.dylib
gcc -dynamiclib -Wl,-single_module
-Wl,-install_name,/usr/local/lib/libswscale.dylib,-current_version,0.7.1,-compatibility_version,0
-Wl,-read_only_relocs,suppress
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavcodec
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavdevice
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavfilter
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavformat
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libavutil
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libpostproc
-L"/Users/doremi/projects/tpa/DAM/ffmpeg"/libswscale
-Wl,-dynamic,-search_paths_first  -o libswscale/libswscale.0.dylib
libswscale/options.o libswscale/rgb2rgb.o libswscale/swscale.o
libswscale/yuv2rgb.o -lavutil -lz -lbz2 -lm ld: -dylib_compatibility_version
must be greater than zero
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command 
failed
make: *** [libswscale/libswscale.0.dylib] Error 1 

Then I tried to update libtool using GNU libtool and now I have this error :
libtool: unrecognized option `-dynamic'
>From a FAQ I found on a website : This error typically means that you've
replaced Apple's /usr/bin/libtool with a GNU libtool. Unfortunately, the two
libtools do not do the same thing. The only way to solve this is to get a
working Apple libtool from somewhere.

----------
messages: 6740
priority: normal
status: new
substatus: new
title: FFmpeg shared compilation failed on MAC 10.4.11
type: bug

_____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue1334>
_____________________________________________________

Reply via email to