WARNING: AIX and dynamic loading.

Konrad Hinsen hinsen at cnrs-orleans.fr
Wed Apr 28 06:35:02 EDT 1999


Paul Duffin <pduffin at mailserver.hursley.ibm.com> writes:

> > PROBLEM:
> > If you copy the module to the PYTHONPATH directory using cp, the old
> > file gets overwritten, but keeps the same inode number.  Apparently,

On my system (running AIX 4.3.1), it is *impossible* to overwrite
a shared library that has ever been loaded; all you get is an error
message claiming that the file is being used.

> > SOLUTION:
> > You makefile should remove the old module (the .so file) before copying the
> > new version into the installation directory.  Then the file gets a new

This is what I had to do as well, in order to be able to copy a new
version. With that I never had any problems.

-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------




More information about the Python-list mailing list