additional link to libpostproc.so.0.0.1

Shawn sks at shaw.ca
Sat Feb 3 18:25:39 PST 2007


On February 3, 2007, Leo Peschier wrote:
> Hello all,
>
> Just a little note.
> I installed MPlayer-1.0pre7try2 following svn-20070202. Mplayer
> didn't start because it could not find libpostproc.so.0
> Both libpostproc.so.0.0.1 and the link libpostproc.so were installed.
> The install.log doesn't mention anything about libpostproc.so.0, so
> it appears an additional link is required for mplayer to start:
>     ln -sf libpostproc.so.0.0.1 /usr/lib/libpostproc.so.0
> which solved my problem.
>
> Leo.

Leo,

It must have been a while since you ran ldconfig.

Just to review...
libxxx.so: is a generic libname (some call it a link name) and usually 
points to the real name.

libxxx.so.0:  is the soname. The soname is the version of the lib and 
points to the real name.

libxxx.so.0.0.1: is the real name. The real name contains the soname + 
release and modification. This is the actual lib.

All these different names are used to make linking easier. I might not 
remember the real name of a lib, but i can remember the link name.

If the library is built properly ( -Wl,soname,libxxx.so.0), ldconfig 
will create the soname for you.

run ldconfig it might fix other problems for you.

Shawn




More information about the blfs-support mailing list