missing lib for djv_view

Issues related to applications and software problems
Post Reply
mirkoj
Posts: 33
Joined: 2010/02/01 04:49:19

missing lib for djv_view

Post by mirkoj » 2019/03/20 08:09:57

Hi,
Just installed djv_view program but getting error message:

./djv_view: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

Can someone help please adding this and activating.
And is there some tutorial or something explaining basics of these dependencies, what means what and what are usual troubleshooting and solutions. running into similar things nonstop :)
Thank you

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: missing lib for djv_view

Post by pjsr2 » 2019/03/20 10:47:51

My strategy usually is to use yum to find which package provides the file:

Code: Select all

yum provides libOpenGL.so.0
If the file is provided in some package in one of the repositories that you have enabled, it will be listed.
In this case, the output will show you that it is provided in the package libglvnd-opengl.

Code: Select all

sudo yum install libglvnd-opengl
With libraries there is a pitfall that you should be aware of: packages that contain libraries often come in a 32-bit and a 64-bit version.
By default yum will install the 64-bit version of the package. If your djv_view is 32-bit compiled, you will need to explicitely install the 32-bit version of the package. This is done by adding ".i686" after the package name as in

Code: Select all

sudo yum install libglvnd-opengl.i686

Post Reply