Missing libraries when starting NORSAR software
If you get messages about missing libraries when starting NORSAR software (for example missing libraries libXp.so.6 or libGLU.so.1 etc.), you will have to install these libraries. On RedHat or CentOS, they can be installed by using yum:
As root user, type:
yum search libXp
Only type in the name of the library, not the extensions (.so.6 in this example. Also try without lib if nothing is found). This will show a list of packages, for example:
libXp.i686 : X.Org X11 libXp runtime library
libXp.x86_64 : X.Org X11 libXp runtime library
libXp-devel.i686 : X.Org X11 libXp development package
libXp-devel.x86_64 : X.Org X11 libXp development package
libXpm.i686 : X.Org X11 libXpm runtime library
libXpm.x86_64 : X.Org X11 libXpm runtime library
libXpm-devel.i686 : X.Org X11 libXpm development package
libXpm-devel.x86_64 : X.Org X11 libXpm development package
We want to install the X.Org X11 libXp runtime library. To install the 32-bit version of the library, type:
yum install libXp.i686
To install the 64-bit version, type:
yum install libXp.x86_64
Make sure that you install the correct 32 or 64-bit version, or if you are unsure, install both.
You can also use the yum provides command, but this will sometimes only list the 32 or 64-bit version of a library and also different versions numbers, so yum search is safer to use. Type:
yum provides libXp.so.6
Look for something like this:
libXp-1.0.0-15.1.el6.i686 : X.Org X11 libXp runtime library
Type:
yum install libXp-1.0.0-15.1.el6.i686