FFMPEG segmentation fault in libavcodec and invalid size of /lib/libavcodec.so.52.108.0
I'm trying to compile ffmpeg from source code on Debian Linux. I have a clean version of Debian Lenny (5.08) (installed from scratch) and a VMWare snapshot with Debian Lenny (5.08) snapshot.
I use the same instructions (provided below) to compile FFMPEG on both Debian instances. Here are these instructions:
After compilation of FFMPEG on my clean Debian, I see that the size of the library /lib/libavcodec.so.52.108.0 is less than the size of the library I get when compiling on the VMWare instance Debian. And this results in the following error:
when I try to run this command:
However, when I copy that library /lib/libavcodec.so.52.108.0 from VMWare Debian machine to my clean Debian, ffmpeg works without segmentation faults.
Can anyone advice, why these libraries can be different when I compile on different machines following the same steps? Can this be caused by some gcc configuration (in its global configuration files if there are any) or smth like this?