Recently (as of 11-07-2009) I attempted to compile gimp-gap version 2.6 on my Slackware system and the gimp-gap configure script complained that the xvid libraries were not present. From here the compile could continue, but obviously without xvid support which is critical for my purpose.
I knew that the xvid library was installed as I had just recently updated it (via the standard Linux
./configure make make install procedure) to the latest svn code. I double checked and the xvid library files (
libxvidcore.a) were indeed present along with the xvid.h include file.
Upon examining my xvid libs install, I did notice something odd. As mentioned above, the
libxvidcore.so.4.2 file was present and there was also symlink from
libxvidcore.so.4 leading to that file. For most libraries however, there will also be a non-versioned symlink leading to the main library and that was not present here.
To fix this I navigated to
/usr/local/lib, su'ed to root and ran
ln -s ./libxvidcore.so.4.2 libxvidcore.so to make the non-versioned symlink for the library.
After doing this I ran the xvid configure script again and it found the xvid library with no problems.
I've still got a “
checking for x264_encoder_open in -lx264... no” to contend with. The files
libx264.so.78 and a symlink from
libx264.so to the original are all present in their correct locations so that isn't the issue here. Hmmmm…