logo       

Re: ffmpeg relocation error, undefined symbol: img_pad: msg#00199

video.ffmpeg.user

Subject: Re: ffmpeg relocation error, undefined symbol: img_pad

thanks for the feedback.

On Mon, 24 Apr 2006 12:06:43 +0200, Michel Bardiaux wrote:

>> I grab & build ffmpeg from cvs today, but was bumped into the "undefined
>> symbol: img_pad" error when using it. what should I check. how should I
>> do?
>
> Have you done a 'make distclean' (followed by configure) after cvs update?

no... ok, I did it this time.

>> $ ffmpeg -i "bob1.avi" -target pal-dvd -s 640x352 -padleft 32
>> -padright 32 -padtop 112 -padbottom 112 -aspect 4:3 -r 25.000 -b 3600
>> -maxrate 4500 -sameq -ab 224 -vol 400 -async 1 "bob1.mpg" FFmpeg
>> version CVS, Copyright (c) 2000-2004 Fabrice Bellard
>> configuration: --prefix=/opt/new --libdir=${prefix}/lib
>> --incdir=${prefix}/include/ffmpeg --mandir=${prefix}/share/man
>> --enable-shared --enable-pthreads --enable-gpl --disable-bktr
>> --disable-dv1394 --disable-network --disable-simple_idct
>> --disable-ffserver libavutil version: 49.0.0
>> libavcodec version: 51.9.0
>> libavformat version: 50.4.0
>> built on Apr 22 2006 21:58:45, gcc: 3.3.5 (Debian 1:3.3.5-13)
>> [...]
>> Press [q] to stop encoding
>> ffmpeg: relocation error: ffmpeg: undefined symbol: img_pad
>
> Did you do a make install?

yes.

> What does ldd `which ffmpeg` say?

Thanks. there, I found the problem. the new ffmpeg is still using the
standard libs:

$ type ffmpeg
ffmpeg is /opt/new/bin/ffmpeg

$ ldd `which ffmpeg`
libavformat.so.50 => /usr/lib/libavformat.so.50 (0xb7f6a000)
libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0xb7b31000)
libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb7b2d000)
libm.so.6 => /lib/libm.so.6 (0xb7b0a000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7af8000)
libdl.so.2 => /lib/libdl.so.2 (0xb7af5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7aa4000)
libc.so.6 => /lib/libc.so.6 (0xb7971000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb78cd000)
libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb788d000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7866000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7768000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7758000)
libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb763c000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7637000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7619000)
libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb7609000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb754f000)
libmp4v2.so.0 => /usr/lib/libmp4v2.so.0 (0xb7499000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb748e000)

But I've configured it to use something else:

$ ffmpeg -i
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/opt/new --libdir=${prefix}/lib
--incdir=${prefix}/include/ffmpeg --mandir=${prefix}/share/man --enable-shared
--enable-pthreads --enable-gpl --disable-bktr --disable-dv1394
--disable-network --disable-simple_idct --disable-ffserver

This is how I config:

configure --prefix=/opt/new --libdir='${prefix}/lib'
--incdir='${prefix}/include/ffmpeg' --mandir='${prefix}/share/man'
--enable-shared --enable-pthreads --enable-gpl --disable-bktr --disable-dv1394
--disable-network --disable-simple_idct --disable-ffserver

How should I fix then?

thanks a lot!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise