Skip to main content

What to do when a Linux system library is missing? - Knowledgebase / Setup / update - Lauterbach Support

What to do when a Linux system library is missing?

When a shared library is missing, you typically need to install the package that provides the required library. The exact package name and installation method depend on your Linux distribution. Below are some common examples:

Fedora 7

Error:

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

Solution:

yum install libXp
Note

Note the correct capitalization: uppercase X, lowercase p.

RHEL 5 (64-bit)

Error:

/opt/t32/bin/pc_linux/t32mppc: error while loading shared libraries: libXmu.so.6: wrong ELF class: ELFCLASS64

Cause:
Not all required 32-bit libraries are installed on the 64-bit system.

Solution:
Install the 32-bit version of the libXmu package along with its dependencies.

Example:

yum install libXmu.i386

Ubuntu 12.04 (64-bit)

Error:

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

Solution:

sudo apt-get install libjpeg62

openSUSE 13.1 (64-bit)

Error 1:

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

Solution:
Install the missing package using YaST or zypper:

sudo zypper install libjpeg62

Error 2:

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

Solution:

sudo zypper install libXp6


Helpful Unhelpful

1 of 14 people found this page helpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image