Ed Pozharski wrote:
After recent upgrade to Ubuntu 9.04, coot binaries that worked fine
before started reporting the "ELFCLASS64" error when loading a
particular library, namely /usr/lib/libguile-srfi-srfi-1-v-3.so.3.
I understand that the real root of this problem is my bizarre obsession
with installing 64-bit Linux and then being too lazy to compile coot
from source and instead trying to use 32-bit coot binaries. To resolve
the ELFCLASS64 issue, I downloaded guile1.8 32-bit debian package from
ubuntu repositories and placed libraries into /usr/lib32. That, of
course, didn't help and I had to redirect the symbolic link in /usr/lib
to /usr/lib32.
OK, try this:
in your xxx/bin/coot script,
after the line
export LD_LIBRARYN32_PATH
add:
LTDL_LIBRARY_PATH=$COOT_PREFIX/lib
export LTDL_LIBRARY_PATH
Paul.