Thank you!
I installed ChimeraX using the RPM package for CentOS/RHEL 8. I also posted this info in the bug report.

Guillaume


On 29 Sep 2021, at 22:28, Tom Goddard <goddard@sonic.net> wrote:

Hi Guillaume,

  I made a bug report for this.

https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/5314

Missing shared libraries on the various Linux distributions is a never ending scourge.  Almost always I have seen links that include 1, 2, and 3 digit version suffixes.  I think this is a deficiency of the RPM you got.  I would be very surprised if CentOS 8 or RHEL 8 fails to encode movies in ChimeraX as   no one has reported that.

  Could you reply to the bug report email whether you installed the ChimeraX generic linux build or ChimeraX RPM?  I believe the generic Linux ChimeraX distribution is especially prone to missing libraries because it does not use a package manager.

Tom

On Sep 29, 2021, at 3:32 AM, Guillaume Gaullier via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hello,

This time I am reporting what looks almost certainly like a bug.

Using ChimeraX version 1.2.5 on Rocky Linux 8.4 (installed from the RHEL/CentOS 8 RPM package), I get the following error in the Log when trying to use the movie encode command (I attached a copy of the full error message in the Log):

/usr/libexec/UCSF-ChimeraX/bin/ffmpeg: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory

Turns out I definitely have libbz2 on my system, but not under the filename ChimeraX (or ffmpeg bundled with ChimeraX) is looking for:

$ ls -l /usr/lib64/ | grep libbz2
lrwxrwxrwx.  1 root root           11 Apr  7 03:44 libbz2.so -> libbz2.so.1
lrwxrwxrwx.  1 root root           15 Apr  7 03:44 libbz2.so.1 -> libbz2.so.1.0.6
-rwxr-xr-x.  1 root root        73008 Apr  7 03:44 libbz2.so.1.0.6


If I create a symlink to libbz2.so.1.0.6 and name it libbz2.so.1.0, my movie encode command finishes fine and produces a movie file. So it was easy to work around this problem, but obviously it would be a lot better if it worked out of the box and the user did not have to mess with system files as root.

Thank you in advance,

Guillaume










När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
_______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
https://plato.cgl.ucsf.edu/mailman/listinfo/chimerax-users

<chimerax-libbz2-error.txt>