If you recently downgraded from GCC 3 or 3.0.1 to a 2.96 version and you now get spurious errors compiling various packages saying things like "Cannot find cout::... or something like this, here's a possible solution.
Some Linux RPM packages don't correct the pointer for the G++ shared library after you re-installed an older version of GCC.
Quick fix: As root, type:
# cd /usr/lib # rm -f libstdc++.so # ln -s libstdc++.so.2.9 libstdc++.so
This is fixed in avifile's CVS. But, since 0.53.5 is the latest version declared as "stable", here's a patch: