Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Archive for June 30th, 2007

    libmp3lame.so.0 (slackware, lame-3.97)

    30th June 2007

    Update: if you were looking for a downloadable libmp3lame.so.0, then go here or here.

    Today I compiled ffmpeg with –enable-libmp3lame. Of course, first I downloaded, compiled and installed lame (libmp3lame) itself. However, after doing make install for ffmpeg, and then running ffmpeg produced an error:

    ffmpeg: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory

    I looked for libmp3lame.so and found one in /usr/local/lib (evidently, ffmpeg couldn’t see it there; ffmpeg was searching for libmp3lame.so.0 in /usr/lib/, not in /usr/local/lib/). It was clear that /usr/local/lib/libmp3lame.so is a symlink to /usr/local/lib/libmp3lame.so.0.0.0. So all I had to do was making one more symlink in /usr/lib/, pointing at /usr/local/lib/libmp3lame.so.0.0.0:

    ln -s /usr/local/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.0

    After this, ffmpeg ran without any problems.

    Share

    Posted in *nix, Software | 8 Comments »