On Sat, Dec 11, 2010 at 02:58:46PM +0100, Peter Plessas wrote:
> Have you thought about adding a "make uninstall" target in your
Will think of it ! Normally it's easy enough to do manually, and the
libs don't take much place.
> A second question:
You can have both on your disk, but only the most recent one will be used.
If you look in your /usr/local/lib or /usr/lib directory, you will find
something like this:
lrwxrwxrwx 1 root root 21 Jan 24 2010 libclthreads.so -> libclthreads.so.2.4.0
lrwxrwxrwx 1 root root 21 Jan 24 2010 libclthreads.so.2 -> libclthreads.so.2.4.0
-rwxr-xr-x 1 root root 31334 Jan 24 2010 libclthreads.so.2.4.0
The two symbolic links are created by 'make install'.
When you compile and link a program, the *.so one is actually used,
the linker discovers it points to *.so.2.4.0 and will leave a mark
in the binary saying it needs the *.so.2 file at run time.
So even if you have 2.2.1, it will never be used if 2.4.0 was installed
more recently. You can have two versions of a library *if* the major
version number (the first, 2 in this case) is different.
If it is the same, the most recent one should be binary compatible with
the older one, so the older one is not needed.
There are three of them, and Alleline.
Linux-audio-user mailing list