[FFmpeg-trac] #2784(build system:new): MacOS: building minimal, audio-only version fails with linker error
FFmpeg
trac at avcodec.org
Sun Jul 14 12:33:09 CEST 2013
#2784: MacOS: building minimal, audio-only version fails with linker error
-------------------------------------+-------------------------------------
Reporter: milgner | Owner:
Type: defect | Status: new
Priority: normal | Component: build
Version: git-master | system
Keywords: osx | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: MacOS => osx
Comment:
{{{
LD libavfilter/libavfilter.3.dylib
Undefined symbols for architecture x86_64:
"_av_find_input_format", referenced from:
_ff_load_image in lavfutils.o
}}}
{{{av_find_input_format}}} is defined in libavformat/format.c which is
compiled unconditionally so your problem is difficult to understand. Could
you confirm that you did {{{make distclean}}} before testing and that no
conflicting versions of dynamic FFmpeg libraries are installed on your
system?
> Also it looks like there are still video components built, like
libavcodec/dirac.o
The ogg demuxer relies on dirac.o.
Unrelated: Your configure line will get more readable if you use wildcards
and lists:
{{{./configure --disable-demuxers --enable-demuxer=pcm*,flac,latm}}}
(This is supported since a long time.)
{{{--disable-everything}}} originally was a debug option (that contrary to
its name does not disable all components of FFmpeg), you may want to try
{{{--disable-all}}}. As a side-effect, it will also fix the linking
problem you reported (although that does not at all explain it).
(This option is not supported since a long time, it will not work on old
versions.)
I don't think you will find pcm_bluray and pcm_dvd in any of the formats
for which you enabled demuxers, the following should also work as
expected:
{{{./configure --disable-decoders --enable-decoder=pcm* --disable-
decoder=pcm_bluray,pcm_dvd}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2784#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list