[FFmpeg-user] Issue on static linking of schroedinger-1.0

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Apr 17 17:54:53 CEST 2016


桃源老師 <xanadu6291 <at> dream.jp> writes:

> I'm trying to enable libschroedinger to ffmpeg.

Note that FFmpeg nowadays contains a native (intra-only) 
dirac encoder.

> When I configure ffmpeg with the following command:
> 
> $ ./configure --prefix=${TARGET} --pkg-config-flags=--static 
> --disable-ffserver --enable-gpl --enable-version3 
> --enable-nonfree --enable-libschroedinger

(note that --enable-nonfree only has unwanted effects in this 
configure line.)

Iirc, libschroedinger has very specific needs from other 
libraries, try --extra-ldflags=-lorc

> Undefined symbols for architecture x86_64:
>   "__schro_decode_prediction_only", referenced from:
>       _schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
>   "__schro_telemetry", referenced from:
>       _schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)

Otoh, both missing symbols are part of the libschroedinger 
library file here.

Carl Eugen


More information about the ffmpeg-user mailing list