[FFmpeg-user] Cross-compile ffmpeg with android ndk and libspeex fails

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Sep 20 18:24:29 EEST 2016


2016-09-20 10:05 GMT+02:00 Marcin Griszbacher <marcin.griszbacher at gmail.com>:

> $ file /usr/local/lib/libspeex*
> /usr/local/lib/libspeex.1.5.0.dylib:    Mach-O 64-bit dynamically linked shared library x86_64
> /usr/local/lib/libspeex.1.dylib:        Mach-O 64-bit dynamically linked shared library x86_64
> /usr/local/lib/libspeex.a:              current ar archive random library
> /usr/local/lib/libspeex.dylib:          Mach-O 64-bit dynamically linked shared library x86_64

If you believe that /usr/local/lib/libspeex.a is the library for arm
that you need (the
error message from configure indicates that it may not), then you can use
--extra-ldflags=/usr/local/lib/libspeex.a to force linking with it.

You have to know how you compiled libspeex and where you put it.

> ld: error: speex: no archive symbol table (run ranlib)

This indicates that the archive is not usable, try:
sudo ranlib /usr/local/lib/libspeex.a

Carl Eugen


More information about the ffmpeg-user mailing list