??? 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:
(I am trying to run QuantiSNP v1.1 http://www.well.ox.ac.uk/QuantiSNP/ if it helps) Thanks for your help! |
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 Code:
locate libXp.so Code:
ldd /path/to/libmwmclmcr.so |
Thanks for your replies!
@CTM The Linux distribution is: Quote:
Nothing output to the terminal when I ran Quote:
Quote:
Thanks again! edit: Tried to find libXp.so.6 for RedHat 6.X ... got a little overwhelmed, haha. edit2: Downloading ftp://ftp.muug.mb.ca/mirror/redhat/r...5.2-2.i386.rpm Hopefully this works.. the MCR is for amd64 not i386 though. (couldn't find the rpm for amd64) :S |
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:
Code:
yum install libXp.so.6 |
$ yum provides */libXp.so.6
$ yum search libXp ( Will list libXp.i686, libXp.x86_64. Both can be installed.) # yum install libXp.<arch> . |
The yum install worked perfectly. Thanks for your help, everyone! :)
|
Hi..
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 kindly help me to resolve this error.. |
Post #9, @saranvellai :
Please do not ask questions in old threads. Use your own thread, or open a new thread. Answered here https://www.linuxquestions.org/quest...-a-4175624522/ |
All times are GMT -5. The time now is 11:06 PM. |