Workarounds for ext-0.51 compiled under recent Linux distributions.

The external depencies distribution ext-0.51 is showing its age and fails under recent versions of linux.


Problem: Upon attempting to run ./pymol.com, you get:

This is being caused by a obsolete shared object hack.

Workaround: Get rid of the shared python library object in ext, and recompile PyMOL.

  1. cd (into your pymol directory)
  2. cd ext/lib
  3. rm libpython1.5.so
  4. cp python1.5/config/libpython1.5.a .
  5. cd (into your pymol directory)
  6. make clean
  7. make

./pymol.com should now work


Problem:An incompatiable copy of libpng in your system libraries will prevent saving of PNG files (RedHat 7.x+). To resolve this, remove libpng from ext and recompile PyMOL.

  1. cd (into your pymol directory)
  2. cd ext/lib
  3. rm libpng.a
  4. cd ../include
  5. rm png.h
  6. cd (into your pymol directory)
  7. make clean
  8. make

Back
Copyright © 2001 DeLano Scientific. All rights reserved.

Hosted at: