On Mon, 25 Oct 2004, Bart Silverstrim wrote: > When you only install programs from source, how do you know when upgrading > them that there aren't remnants of binaries or libraries scattered around the > OS? I grew up having to use Windows, so please forgive the question; I had > one too many instances of uninstallers getting rid of the program then having > old DLL's and older registry entries left behind (and before that, old .ini
Unix libraries (usually) use a version number in the file name. In fact, you (usually) do keep the old versions on the system, so you can run binaries compiled against any version along the way. IE, right now in /usr/local/lib I have: -rw-r--r-- 1 root other 376294 Oct 17 21:01 libclamav.a -rwxr-xr-x 1 root other 780 Oct 17 21:01 libclamav.la lrwxrwxrwx 1 root other 18 Oct 17 21:01 libclamav.so -> libclamav.so.1.0.4 lrwxrwxrwx 1 root other 18 Oct 17 21:01 libclamav.so.1 -> libclamav.so.1.0.4 -rwxr-xr-x 1 root other 110673 Jun 17 2003 libclamav.so.1.0.2 -rwxr-xr-x 1 root other 194626 Apr 1 2004 libclamav.so.1.0.3 -rwxr-xr-x 1 root other 361866 Oct 17 21:01 libclamav.so.1.0.4 The symlinks tell you which is current, while the old versions let any binary compiled against an old version use the one it wants. ========================================================== Chris Candreva -- [EMAIL PROTECTED] -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/ _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users