[SOLVED] ??? Error: libXp.so.6: cannot open shared object file: No such file or directory
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
??? Error: libXp.so.6: cannot open shared object file: No such file or directory
Hello:
I am trying to run a program on linux (x86_64) that requires Matlab Compiler. When I attempt to run the program, I get the following error...
Quote:
[lz225@dbgap linux64]$ bash ./run_quantisnp.sh $MCR_ROOT
------------------------------------------
Setting up environment variables
---
Found MCR Java JRE version: 1.5.0
LD_LIBRARY_PATH is .:/home/lz225/v76/runtime/glnxa64:/home/lz225/v76/bin/glnxa64:/home/lz225/v76/sys/os/glnxa64:/home/lz225/v76/sys/java/jre/glnxa64/jre1.5.0/lib/amd64/native_threads:/home/lz225/v76/sys/java/jre/glnxa64/jre1.5.0/lib/amd64/server:/home/lz225/v76/sys/java/jre/glnxa64/jre1.5.0/lib/amd64/client:/home/lz225/v76/sys/java/jre/glnxa64/jre1.5.0/lib/amd64
Fatal error loading library /home/lz225/v76/bin/glnxa64/libmwmclmcr.so Error: libXp.so.6: cannot open shared object file: No such file or directory
Googling this issue did not really help me out. I don't understand why I'm getting this issue as /home/lz225/v76/bin/glnxa64/libmwmclmcr.so exists! Can anyone suggest a possible solution to this problem?
libmwmclmcr.so does indeed exist: it's a shared library that ships with QuantiSNP. When it was compiled, it was dynamically linked with another library - libXp.so.6 - that doesn't exist on your system. libXp.so is usually part of a package (unsurprisingly) named "libXp" in most distributions, so you'll need to install that. Where you go from here depends on your Linux distribution - which one are you using?
As I see CTM says above, the error isn't libmwmclmcr.so missing, it's libXp.so.6 missing -- which the loader discovered because libmwmclmcr requires it.
Googling for matlab compiler linux 64bit produced many likely-looking hits, including this one which I have a hunch is yours. If you'll post the results of
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarchrinting-4.0-amd64rinting-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.1 (Santiago)
Release: 6.1
Codename: Santiago
You don't have it installed at all, and you need the 64-bit version which will be easiest, yay. I think you want to do rpm -q --whatprovides libXp.so.6 to find what to install to get you that library, and then probably yum install thatpackage, but I don't do RHEL so if it works, great, if someone sees a needed correction I hope they chime in before you see this.
I understand it's possible to install a package containing a file with rpm by querying based on the name of the file, so you might have some luck with this:
I'm trying to install trace graph ..
I followed these steps...
1.$sudo chmod 777 mglinstaller
2../mglinstaller
3.After installing mglinstaller, you will get a folder called glnx86 in /home/sandeep/tracegraph202/bin directory
4.Copy all the files from /home/ubuntu/tracegraph202 directiy and paste them in /home/sandeep/tracegraph202/bin/glnx86/ directory
5. $gedit .bashrc
6. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ubuntu/tracegraph202/bin/glnx86
7. $ sudo export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ubuntu/tracegraph202/bin/glnx86
8. chmod 777 trgraph
9. $./trgraph
when i give ./trgraph it throws this error
./trgraph: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.