[Libav-user] libtwolame error at Building FFmpeg

Daneel V daneelveloper at gmail.com
Fri Nov 1 11:24:22 EET 2019


Hi all,

I've been building FFmpeg for years in Win64 using Msys2. 
--enable-libtwolame has been always on and working but starting a couple 
weeks ago I'm getting an error when trying to include this library and 
running ./configure command. It says the library is not present or it's 
outdated.

Msys2 twolame library is up to date to last version and my FFmpeg source 
code is last version via Git.

I've checked FFmpeg Configure file and it seems it is not locating 
'twolame_encode_buffer_float32_interleaved' reference into twolame library.
I've modified the Configure file to ignore the warning and continue but 
at linking time and I got these errors:

C:/Msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: 
libavcodec/libtwolame.o: in function twolame_encode_frame': 
C:\Msys64\home\ion\ffmpeg/libavcodec/libtwolame.c:115: undefined 
reference totwolame_encode_buffer_float32_interleaved'
C:\Msys64\home\ion\ffmpeg/libavcodec/libtwolame.c:115:(.text+0x85): 
relocation truncated to fit: R_X86_64_PC32 against undefined symbol 
`twolame_encode_buffer_float32_interleaved'

Anyone bulding FFmpeg in Windows coming across this issue?.

     Thank you.



More information about the Libav-user mailing list