[Chimera-users] Still won't work after libfreetype.so* and libz.so* removal

Яцкевич Максим eurodollarmax at yandex.ru
Tue May 14 11:33:20 PDT 2019


Hi!

I am running Fedora 29. Now I'm trying to install chimera-1.13.1-linux_x86_64.bin. After successful installation it failed to create a window in a desktop applecation menu. So I followed the instructions on the web-site (http://www.cgl.ucsf.edu/chimera/data/downloads/1.13.1/linux_x86_64.html).

After running the command
<dir_name>/bin/xdg-setup install

it stumbled upon the same error that was discussed in this thread (https://www.cgl.ucsf.edu/pipermail/chimera-users/2018-November/015237.html)

Traceback (most recent call last):
  File "/home/sec/.local/chimera/share/__main__.py", line 73, in <module>
    value = chimeraInit.init(sys.argv)
  File "/home/sec/.local/chimera/share/chimeraInit.py", line 666, in init
    import chimera
  File "/home/sec/.local/chimera/share/chimera/__init__.py", line 2777, in <module>
    from SimpleSession import BEGIN_RESTORE_SESSION, END_RESTORE_SESSION
  File "/home/sec/.local/chimera/share/SimpleSession/__init__.py", line 14, in <module>
    from save import saveSession, sessionID, noAutoRestore, autoRestorable, \
  File "/home/sec/.local/chimera/share/SimpleSession/save.py", line 13, in <module>
    from chimera import replyobj, selection, SessionPDBio, version
  File "/home/sec/.local/chimera/share/chimera/replyobj.py", line 24, in <module>
    import Tkinter
  File "/home/sec/.local/chimera/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: /usr/lib64/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

So I followed your advise and removed the corresponding files:

> rm ~/.local/chimera/lib/libz.so*
> rm ~/.local/chimera/lib/libfreetype.so*

Unfortunately it didn't solve the problem. So after typing:
> ~/.local/chimera/bin/xdg-setup install

It complained that it cannot find the libz.so file!

Traceback (most recent call last):
  File "/home/sec/.local/chimera/share/__main__.py", line 73, in <module>
    value = chimeraInit.init(sys.argv)
  File "/home/sec/.local/chimera/share/chimeraInit.py", line 659, in init
    initialize_ssl_cert_dir()
  File "/home/sec/.local/chimera/share/chimeraInit.py", line 309, in initialize_ssl_cert_dir
    import ssl
  File "/home/sec/.local/chimera/lib/python2.7/ssl.py", line 146, in <module>
    import base64        # for DER-to-PEM translation
  File "/home/sec/.local/chimera/lib/python2.7/base64.py", line 11, in <module>
    import binascii
ImportError: libz.so: cannot open shared object file: No such file or directory

I will be grateful for any help.

Best regards,
Maxim.

PhD Student,
Physical Faculty,
Lomonosov Moscow State University



More information about the Chimera-users mailing list