question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to install libgtk2.0-0 on AWS linux AMI

See original GitHub issue

orca --help gives following error message /usr/lib/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

According to documentation we need to install I am not able to install ‘libgtk2.0-0’ through “yum”

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
atan4583commented, Jun 30, 2020

I am having the same error when running orca --help

/opt/conda/envs/pysig/lib/orca_app/orca: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory

From what I found on the web, AWS AMI is AWS own linux distribution, the two packages do not exist when I try sudo yum install:

(pysig) [ec2-user@ip-xxx-xx-xx-xxx ~]$ sudo yum install libgtk2.0-0 Loaded plugins: priorities, update-motd, upgrade-helper amzn-main | 2.1 kB 00:00:00
amzn-updates | 3.8 kB 00:00:00
No package libgtk2.0-0 available. Error: Nothing to do (pysig) [ec2-user@ip-xxx-xx-xx-xxx ~]$ sudo yum install libgconf-2-4 Loaded plugins: priorities, update-motd, upgrade-helper No package libgconf-2-4 available. Error: Nothing to do

I tried the standalone orca binary and installed Xvfb on AWS AMI, still no luck after much wrangling. Why is getting plotly graphic library to run on headless Linux especialy AWS AMI is such a nightmare?

Any tip on how to proceed from here, anyone?

1reaction
severalfewcommented, May 29, 2020

I see this issue on RHEL 7.4. I installed orca through conda: conda install -c plotly plotly-orca -y.

My error has a different libgtk version but a similar error: $ orca --help /home/<username>/.conda/envs/orca/lib/orca_app/orca: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Software From the Extras Library on an Amazon Linux 2 ...
To install a software package from the Extras Library, first confirm that the amazon-linux-extras repository is installed on your instance.
Read more >
Install software packages on an Amazon Linux instance
Use the yum install package command, replacing package with the name of the software to install. For example, to install the links text-based...
Read more >
Tutorial: Install a LAMP web server on Amazon Linux 2
If you receive an error stating sudo: amazon-linux-extras: command not found , then your instance was not launched with an Amazon Linux 2...
Read more >
Installing Chromium on Amazon Linux - Stack Overflow
In order to get headless chrome working on Lambda, I deployed an identical AMI as an EC2 instance ( ...
Read more >
Installing Google Chrome On CentOS, Amazon Linux, or RHEL
CentOS, Amazon Linux AMI, and Red Hat Enterprise Linux are three closely ... all of the unmet dependencies that would normally make the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found