Opened 12 years ago
Closed 12 years ago
#1685 closed defect (invalid)
Compiling FFmpeg with libass does nor work with OSX10.8
Reported by: | Xtophe | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
I keep getting the following error when compiling the latest git FFmpeg:
Undefined symbols for architecture x86_64:
"_libiconv", referenced from:
_sub_recode in libass.a(ass.o)
"_libiconv_close", referenced from:
_sub_recode in libass.a(ass.o)
"_libiconv_open", referenced from:
_sub_recode in libass.a(ass.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: * [ffmpeg_g] Error 1
make: * Waiting for unfinished jobs....
How to reproduce:
Build with:
./configure --prefix=${SOURCE} --as=yasm --enable-gpl --enable-pthreads --disable-ffplay --disable-ffserver --enable-avfilter --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --arch=x86 --enable-runtime-cpudetect && make -j 4 && make install
If the full output is needed .. let me know.
Change History (5)
comment:1 by , 12 years ago
Component: | FFmpeg → build system |
---|
follow-up: 3 comment:2 by , 12 years ago
I just found the problem.
Seems it couldn't find "liconv"
Added this to the LDFLAGS and it compiled fine.
But I found another issue when using libass. I will open a new ticket for that.
This can be closed.
follow-up: 4 comment:3 by , 12 years ago
comment:4 by , 12 years ago
comment:5 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Is this also reproducible with the following shorter configure line?
$ ,/configure --enable-libass
What does pkg-config report for libass?
$ pkg-config --libs libass
Workaround should be to pass --extra-ldflags=-liconv