_hashlib portability issue

Robert Kern robert.kern at gmail.com
Tue Jun 26 12:53:42 EDT 2007


Olivier Feys wrote:
> Hi all,
> 
> I build python 2.5 on linux-x86-64 (centos).
> Why is lib-dynload/_hashlib.so dynamically linked with libssl.so.0.9.7 
> and not with libssl.so that points on it (same thing for libcrypto.so)?
> This causes problems when copying all the python distribution and 
> running it on a different os, where the theses lib versions are not 
> allways the same.
> Is it possible to configure that ?

I don't think so. I think that ld simply follows the symbolic links down to the
actual file. I'm a bit hazy on this, though. `info ld` has not enlightened me,
either.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list