Re: [squid-users] question on recompiling

From: Chad Naugle <Chad.Naugle_at_travimp.com>
Date: Thu, 07 Apr 2011 09:41:47 -0400

Okay, let see if I can clarify --

Under /usr/lib64 the files are all actually links to the real files, ie
(SLES10-SP3 example):

Proxy:/usr/lib64 # ls -l libkrb*
lrwxrwxrwx 1 root root 14 Mar 23 09:46 libkrb4.so ->
libkrb4.so.2.0
lrwxrwxrwx 1 root root 14 Feb 22 14:23 libkrb4.so.2 ->
libkrb4.so.2.0
-rwxr-xr-x 1 root root 118360 Nov 17 09:59 libkrb4.so.2.0
lrwxrwxrwx 1 root root 14 Mar 23 09:46 libkrb5.so ->
libkrb5.so.3.2
lrwxrwxrwx 1 root root 14 Feb 22 14:23 libkrb5.so.3 ->
libkrb5.so.3.2
-rwxr-xr-x 1 root root 498312 Nov 17 09:59 libkrb5.so.3.2
lrwxrwxrwx 1 root root 21 Mar 23 09:46 libkrb5support.so ->
libkrb5support.so.0.0
lrwxrwxrwx 1 root root 21 Feb 22 14:23 libkrb5support.so.0 ->
libkrb5support.so.0.0
-rwxr-xr-x 1 root root 12240 Nov 17 09:59 libkrb5support.so.0.0
Proxy:/usr/lib64 #

Ok, as you can see the different versions of the libraries, ex.
libkrb4.so.2.0 that is being linked. Assuming that the newly compiled
version you are talking about, is a different version number, say
libkrb4.so.2.4, you can safely copy those "real" files alone without
breaking anything, and try recreating the symbolic links to point to the
new file, and test to see if everything other than squid_kerb_auth is
working fine using the updated library, without losing the original
files.

>>> Leonardo Rodrigues <leolistas_at_solutti.com.br> 4/7/2011 9:27 AM >>>

     Hi Chad,

     but doing that, even temporarily, would break other softwares that

are using krb5 libraries at that moment, wont it ?

     and even if it wont break anything running, when i restore
original
versions the binary will be linked to wrong library files (the original

ones and it was compiled to the newer ones), wont it ?

Em 07/04/11 10:21, Chad Naugle escreveu:
> Correction -- Do NOT move the original versions, because it can
break
> things, just re-link the new copy under /usr/lib64 and see if
everything
> is working fine.
>
>>>> "Chad Naugle"<Chad.Naugle_at_travimp.com> 4/7/2011 9:17 AM>>>
> You can temporary move the /usr/lib64 versions, and copy the version
> from /usr/local to /usr/lib64, just make sure they are linked
> correctly.
>

-- 
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br 
Minha armadilha de SPAM, NÃO mandem email
gertrudes_at_solutti.com.br 
My SPAMTRAP, do not email it
Travel Impressions made the following annotations
-------------------------------------------------------------
"This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information.  If you are not
the intended recipient, any disclosure, copying, use, or distribution of
the information included in this message and any attachments is
prohibited.  If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.
Thank you."
Received on Thu Apr 07 2011 - 13:42:00 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 07 2011 - 12:00:03 MDT