Opened 4 years ago
Closed 4 years ago
#5314 closed defect (fixed)
Movie encode on Redhat Enterprise Linux 8 fails to find libbz2.so
Reported by: | Owned by: | Greg Couch | |
---|---|---|---|
Priority: | moderate | Milestone: | 1.3 |
Component: | Platform | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Begin forwarded message:
From: Guillaume Gaullier via ChimeraX-users <chimerax-users@…>
Subject: [chimerax-users] movie encode bug on Rocky Linux 8.4
Date: September 29, 2021 at 3:32:52 AM PDT
To: ChimeraX Users Help <chimerax-users@…>
Reply-To: Guillaume Gaullier
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
Change History (3)
comment:1 by , 4 years ago
Milestone: | → 1.3 |
---|
follow-up: 2 comment:2 by , 4 years ago
As Tom requested this info in the discussion on chimerax-users: I installed ChimeraX using the RPM package for CentOS/RHEL 8 (as far as I understand, Rocky should be identical, so this RPM package should be adequate for my system). I hope this helps, Guillaume On 29 Sep 2021, at 23:12, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu<mailto:ChimeraX-bugs-admin@cgl.ucsf.edu>> wrote: #5314: Movie encode on Redhat Enterprise Linux 8 fails to find libbz2.so -------------------------------------------+------------------------ Reporter: guillaume.gaullier@… | Owner: Greg Couch Type: defect | Status: assigned Priority: moderate | Milestone: 1.3 Component: Platform | Version: Resolution: | Keywords: Blocked By: | Blocking: Notify when closed: | Platform: all Project: ChimeraX | -------------------------------------------+------------------------ Changes (by Greg Couch): * milestone: => 1.3 Comment: Thanks for the report. I see that we're using the same ffmpeg binary for all Linux systems. Which was a mistake. -- Ticket URL: <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/5314#comment:1> ChimeraX <https://www.rbvi.ucsf.edu/chimerax/> ChimeraX Issue Tracker 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
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by compiling ffmpeg separately for CentOS. Ubuntu has ffmpeg in its repository.
Thanks for the report. I see that we're using the same ffmpeg binary for all Linux systems. Which was a mistake.