From: hinsen at cnrs-orleans.fr (Konrad Hinsen)
Date: 28 Apr 1999 12:35:02 +0200
Subject: WARNING: AIX and dynamic loading.
References: <7g4i77$qif$1@nnrp1.dejanews.com> <3726DDD9.19A1@mailserver.hursley.ibm.com>
Message-ID: <m3btg9jand.fsf@chinon.cnrs-orleans.fr>
Content-Length: 1197
X-UID: 555                                                  

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
-------------------------------------------------------------------------------




