orca icon indicating copy to clipboard operation
orca copied to clipboard

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

Open syalanuj opened this issue 6 years ago • 5 comments

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"

syalanuj avatar Dec 28 '18 10:12 syalanuj

Can you tell us how you installed orca? Thank you.

etpinard avatar Dec 28 '18 14:12 etpinard

More info: https://github.com/plotly/orca#linux-troubleshooting-cannot-open-shared-object

Do you know which flavor of linux your AWS machine is running?

etpinard avatar Dec 28 '18 15:12 etpinard

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

severalfew avatar May 29 '20 18:05 severalfew

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?

atan4583 avatar Jun 25 '20 08:06 atan4583

Same issue here, I would like to have a better explanation on how to install plotly-orca in a headless machine. I have a rhel 7.

In additon, I couldn't find anything on https://sites.google.com/site/orcainputlibrary/orca-common-problems as well.

vcmorini avatar Jun 25 '20 10:06 vcmorini