WARNING: AIX and dynamic loading.

Jakob Schiotz jschiotz at hotmail.com
Thu Apr 29 05:08:37 EDT 1999


In article <m3btg9jand.fsf at chinon.cnrs-orleans.fr>,
  Konrad Hinsen <hinsen at cnrs-orleans.fr> wrote:

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

Even if the directory is NFS mounted?  NFS file locking usually doesn't work -
and there may be the additional problem of another machine using the module.
It sure would be nice if it has been fixed in AIX 4.3

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

I guess that is the safest thing to do whenever you are installing an
executable or a shared object - somebody might be running it.


Happy programming!   :-)


Jakob

--
Jakob Schiotz, CAMP and Department of Physics, Tech. Univ. of Denmark,
DK-2800 Lyngby, Denmark.  http://www.fysik.dtu.dk/~schiotz/
This email address is used for newsgroups and mailing lists
(spam protection).  Official email: schiotz @ fysik . dtu . dk

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list