Installation Pymol error - linux

I am trying to install pymol on Centos 6.5. After running setup.sh it looks everything is fine. But when I launch pymol I obtain this error:
/opt/pymol/pymol.exe: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
Any help,please?
I am quite new in linux as you may notice...

Follow te instrucctions here and also check that you have installed libGLU, on Ubuntu this library is called libglu1-mesa.

Related

error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory

I am running a Fortran model on a linux server (CentOS8). When I run the .exe file (./pgd.exe) compiled by make, I got the error message:
./pgd.exe: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
And if I type where gfortran, I got nothing. But if I type whereis libgfortran.so.3, I got
libgfortran.so: /usr/lib64/libgfortran.so.5.
Since this is a server used by many users, I cannot ask the admin to degrade the libgfortran.so.5 to version 3, how can I do to ensure the model running? I searched that there are some similar questions and potential solutions are like sudo apt-get install libgfortran3. But I don't know how to install libgfortran3 under my account since I am not the admin and couldn't use sudo. Thanks!
The application ("pgd.exe") has been compiled with an older version of gfortran where the runtime library is not compatible with the runtime library provided by centos 8. There are a number of solutions, such as
Recompile the application with the version of gfortran provided in centos8.
Copy the old libgfortran.so.3 somewhere, set LD_LIBRARY_PATH to point there so that the application finds it.
Bundle the application and whatever libraries it needs as a container.

libmpi_cxx.so.40: cannot open shared object file

Upon running a command that requires mpi, it fails with
error while loading shared libraries: libmpi_cxx.so.40: cannot open shared object file: No such file or directory
I'm running it in a conda environment pytorch_p36.
However, I checked that libmpi_cxx.so.40 is present in that same conda environment.
Command
locate libmpi_cxx
Output
/home/ubuntu/anaconda3/envs/pytorch_p36/lib/libmpi_cxx.so
/home/ubuntu/anaconda3/envs/pytorch_p36/lib/libmpi_cxx.so.40
/home/ubuntu/anaconda3/envs/pytorch_p36/lib/libmpi_cxx.so.40.20.1
Is there some issue with PATH or LD_LIBRARY_PATH?
If so what? How can I make sure anaconda environment libs are picked up by the 2 environment vars?
Try this:
LD_LIBRARY_PATH=$CONDA_PREFIX/lib [[rest of your command, e.g. python foo.py]]

error opening executable file on ssh - error while loading shared libraries

I am trying to run tor on Ubuntu with terminal (using SSH). Whenever I am trying to open the executable file I am getting this error:
./tor: error while loading shared libraries: libevent-2.1.so.7:
cannot open shared object file: No such file or directory
I have tried to re-install the packages and nothing going well, also tried to link the library and that also did nothing. Whenever I am trying to create another executable file it runs okay, the problem is only with this tor file.
Further details:
$ ldd ./tor | grep libevent
libevent-2.1.so.7 => not found
$ ls -l /usr/lib/libevent*
No such file or directory
Can anyone guide me on how to solve it? Any help would be really appreciated.

wine can only find libs with sudo

I have installed wine recently, but I can only run programs with wine using sudo.
/opt/wine-devel/bin/wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
It gives this error, I checked to see if wine was trying find the libs in the wrong dir, but isn't the case since if I use:
sudo wine program.exe
it runs correctly.
I solved the problem just doing a chown <user> /opt/wine-<branch>. But doesn't do it after has used the wine with sudo and installing some packages or programs, they will be yet unreachable locked by the permissions, use chown just after download wine from the winehq page.
winecfg
/opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
wine-5.0.1 *
Mate 1.24.0 *
Linux Mint-20 *
Kernel 5.4.0-40
After changing to Mint 19 wine didn't work any longer. What shall I do?

Using Webdriver with Chrome -- missing Shared Libraries

I am trying to run webdriver, but I keep getting the following error:
[ec2-user#ip-172-30-0-41 ~]$ sudo ./chromedriver
./chromedriver: error while loading shared libraries:
libgconf-2.so.4: cannot open shared object file: No such file or directory
Is there a way to yum this missing dependencies? Or what seems to be the issue here? This is using the Amazon Linux AMI 2014.09.1 (HVM) Distribution.
chrome driver can't run by itself. You can run it via code only

Resources