Page 1 of 1

vlc will kill me , pelase help me

Posted: 16 Jul 2008 10:22
by colour
When i finish installing vlc ,i run it . There is nothing except error: usr/local/lib/libavcodec.so.51 :undefined reference to `av_realloc'

god who can tell me the reason

thank you ~~

Re: vlc will kill me , pelase help me

Posted: 16 Jul 2008 12:35
by kwizart
problem with system ffmpeg headers versus your in-tree headers for ffmpeg i would say
or linking problem within the ffmpeg compilation.

Re: vlc will kill me , pelase help me

Posted: 16 Jul 2008 12:55
by colour
problem with system ffmpeg headers versus your in-tree headers for ffmpeg i would say
or linking problem within the ffmpeg compilation.
I do not understand very well , Could you tell me how to resolve it ?

Re: vlc will kill me , pelase help me

Posted: 16 Jul 2008 14:07
by xtophe
Which linux distribution are you using ?
How did you install VLC ?

from the very little information you provided it's a bug in the ffmpeg package you use.

Re: vlc will kill me , pelase help me

Posted: 17 Jul 2008 03:43
by colour
Which linux distribution are you using ?
How did you install VLC ?

from the very little information you provided it's a bug in the ffmpeg package you use.
The kernel i used is 2.6.15 ,it is compiled on Fedora core 4 .
I have installed :
ffmpeg
faad2-20050513/
lame-3.96/
libdvb-0.2.2/
libdvbpsi3-0.1.4/
libdvdcss-1.2.8/
libdvdread-0.9.4/
libmad-0.15.1b/
live/
mpeg2dec-0.4.0/
nasm/
vlc-0.8.5/
vls-0.5.6/
wxWidgets-2.6.3/
x264-20050624/
ffmpeg
wxWidgets

ffmpeg configure:

./configure --enable-gpl --enable-shared --enable-mp3lame --enable-amr_nb --enable-amr_wb --enable-amr_if2 --enable-libogg --enable-vorbis --enable-xvid --enable-a52 --enable-a52bin --enable-faadbin --enable-dts --enable-pp --enable-faad --enable-faac --enable-x264 --enable-pthreads --disable-ffserver --prefix=/usr --extra-ldflags=-L/local/lib

vlc 0.8.5 :
./configure --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi --enable-a52 --enable-dts --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-livedotcom --enable-caca --disable-skins --disable-skins2 --disable-kde --disable-qt --enable-wxwidgets --disable-ncurses --enable-debug

The process has no error , when i run ./vlc and the error will appear

Re: vlc will kill me , pelase help me

Posted: 17 Jul 2008 09:42
by kwizart
You should really avoid to use Fedora Core 4. This is really unsupported version.
https://fedoraproject.org/wiki/Communic ... OL-Support

it would really better to "re-install" a newer version (Fedora 8 or 9)

Re: vlc will kill me , pelase help me

Posted: 18 Jul 2008 03:25
by dragon-pk
i suggest you use fedora 8 and when you configure ffmpeg ,you should add --prefix=/usr