LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 01-17-2012, 06:12 PM   #1
castles
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
??? 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?

(I am trying to run QuantiSNP v1.1 http://www.well.ox.ac.uk/QuantiSNP/ if it helps)

Thanks for your help!

Last edited by castles; 01-17-2012 at 06:19 PM. Reason: added more info
 
Old 01-17-2012, 07:05 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 13.37 / 14.0
Posts: 127

Rep: Reputation: 45
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?
 
1 members found this post helpful.
Old 01-17-2012, 07:23 PM   #3
jthill
Member
 
Registered: Mar 2010
Distribution: Arch
Posts: 209

Rep: Reputation: 65
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
and
Code:
ldd /path/to/libmwmclmcr.so
that will at least answer that question for sure.
 
1 members found this post helpful.
Old 01-17-2012, 08:11 PM   #4
castles
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your replies!

@CTM

The Linux distribution is:
Quote:
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
@jthill

Nothing output to the terminal when I ran
Quote:
locate libXp.so
The output for the second:
Quote:
[lz225@dbgap ~]$ ldd /home/lz225/v76/bin/glnxa64/libmwmclmcr.so
linux-vdso.so.1 => (0x00007fff329ff000)
libmwmcr.so => /home/lz225/v76/bin/glnxa64/libmwmcr.so (0x00007ff3a6c95000)
libut.so => /home/lz225/v76/bin/glnxa64/libut.so (0x00007ff3a67cc000)
libmx.so => /home/lz225/v76/bin/glnxa64/libmx.so (0x00007ff3a6668000)
libmwservices.so => /home/lz225/v76/bin/glnxa64/libmwservices.so (0x00007ff3a6422000)
libmex.so => /home/lz225/v76/bin/glnxa64/libmex.so (0x00007ff3a6313000)
libmwctfarchiver.so => /home/lz225/v76/bin/glnxa64/libmwctfarchiver.so (0x00007ff3a61f5000)
libmwctfrt.so => /home/lz225/v76/bin/glnxa64/libmwctfrt.so (0x00007ff3a60ea000)
libmwctfrtcrypto.so => /home/lz225/v76/bin/glnxa64/libmwctfrtcrypto.so (0x00007ff3a5f2f000)
libmwm_interpreter.so => /home/lz225/v76/bin/glnxa64/libmwm_interpreter.so (0x00007ff3a4e87000)
libmwm_dispatcher.so => /home/lz225/v76/bin/glnxa64/libmwm_dispatcher.so (0x00007ff3a4d33000)
libmwmpath.so => /home/lz225/v76/bin/glnxa64/libmwmpath.so (0x00007ff3a4c18000)
libmwjmi.so => /home/lz225/v76/bin/glnxa64/libmwjmi.so (0x00007ff3a4ad8000)
libmwdservices.so => /home/lz225/v76/bin/glnxa64/libmwdservices.so (0x00007ff3a49ce000)
libmwudd.so => /home/lz225/v76/bin/glnxa64/libmwudd.so (0x00007ff3a47e9000)
libz.so => /home/lz225/v76/bin/glnxa64/libz.so (0x00007ff3a46da000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff3a44ae000)
libstdc++.so.6 => /home/lz225/v76/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6 (0x00007ff3a42ac000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff3a4028000)
libgcc_s.so.1 => /home/lz225/v76/bin/glnxa64/../../sys/os/glnxa64/libgcc_s.so.1 (0x00007ff3a3f1b000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff3a3b89000)
libmwiqm.so => /home/lz225/v76/bin/glnxa64/libmwiqm.so (0x00007ff3a3a7d000)
libmwbridge.so => /home/lz225/v76/bin/glnxa64/libmwbridge.so (0x00007ff3a395f000)
libmat.so => /home/lz225/v76/bin/glnxa64/libmat.so (0x00007ff3a3840000)
libmwm_parser.so => /home/lz225/v76/bin/glnxa64/libmwm_parser.so (0x00007ff3a34dd000)
libmwmcos.so => /home/lz225/v76/bin/glnxa64/libmwmcos.so (0x00007ff3a328a000)
libmwgui.so => /home/lz225/v76/bin/glnxa64/libmwgui.so (0x00007ff3a309a000)
libmwhg.so => /home/lz225/v76/bin/glnxa64/libmwhg.so (0x00007ff3a2d88000)
libuij.so => /home/lz225/v76/bin/glnxa64/libuij.so (0x00007ff3a2c51000)
libmwudd_mi.so => /home/lz225/v76/bin/glnxa64/libmwudd_mi.so (0x00007ff3a2adb000)
libmwuinone.so => /home/lz225/v76/bin/glnxa64/libmwuinone.so (0x00007ff3a29d5000)
libmwm_ir.so => /home/lz225/v76/bin/glnxa64/libmwm_ir.so (0x00007ff3a288b000)
libmwmathutil.so => /home/lz225/v76/bin/glnxa64/libmwmathutil.so (0x00007ff3a2737000)
libmwuix.so => /home/lz225/v76/bin/glnxa64/libmwuix.so (0x00007ff3a250e000)
librt.so.1 => /lib64/librt.so.1 (0x00007ff3a2305000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff3a2101000)
libicudata.so.32 => /home/lz225/v76/bin/glnxa64/libicudata.so.32 (0x00007ff3a2000000)
libicuuc.so.32 => /home/lz225/v76/bin/glnxa64/libicuuc.so.32 (0x00007ff3a1e12000)
libicui18n.so.32 => /home/lz225/v76/bin/glnxa64/libicui18n.so.32 (0x00007ff3a1be9000)
libicuio.so.32 => /home/lz225/v76/bin/glnxa64/libicuio.so.32 (0x00007ff3a1add000)
libncurses.so.5 => /lib64/libncurses.so.5 (0x00007ff3a18ba000)
libmwprofiler.so => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libmwprofiler.so (0x00007ff3a179d000)
libmwmathrng.so => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libmwmathrng.so (0x00007ff3a1694000)
libmwmlib.so => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libmwmlib.so (0x00007ff3a1588000)
libmwm_pcodeio.so => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libmwm_pcodeio.so (0x00007ff3a1475000)
libmwmtok.so => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libmwmtok.so (0x00007ff3a136d000)
libmwm_pcodegen.so => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libmwm_pcodegen.so (0x00007ff3a1254000)
libboost_thread-gcc-mt-1_33_1.so.1.33.1 => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libboost_thread-gcc-mt-1_33_1.so.1.33.1 (0x00007ff3a1148000)
libxerces-c.so.26 => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libxerces-c.so.26 (0x00007ff3a0cb9000)
libmwdatasvcs.so => /home/lz225/v76/bin/glnxa64/libmwdatasvcs.so (0x00007ff3a0b9f000)
libboost_filesystem-gcc-mt-1_33_1.so.1.33.1 => /home/lz225/v76/bin/glnxa64/../../bin/glnxa64/libboost_filesystem-gcc-mt-1_33_1.so.1.33.1 (0x00007ff3a0a8d000)
/lib64/ld-linux-x86-64.so.2 (0x0000003835800000)
libhdf5.so.0 => /home/lz225/v76/bin/glnxa64/libhdf5.so.0 (0x00007ff3a086d000)
libmwir_xfmr.so => /home/lz225/v76/bin/glnxa64/libmwir_xfmr.so (0x00007ff3a0762000)
libmwhardcopy.so => /home/lz225/v76/bin/glnxa64/libmwhardcopy.so (0x00007ff3a0637000)
libmwnumerics.so => /home/lz225/v76/bin/glnxa64/libmwnumerics.so (0x00007ff3a0335000)
libXm.so.3 => /home/lz225/v76/bin/glnxa64/../../sys/os/glnxa64/libXm.so.3 (0x00007ff39ff87000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007ff39fd74000)
libXp.so.6 => not found
libXt.so.6 => /usr/lib64/libXt.so.6 (0x00007ff39fb0f000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007ff39f7cf000)
libXp.so.6 => not found
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007ff39f5ad000)
libmwxmlcore.so => /home/lz225/v76/bin/glnxa64/libmwxmlcore.so (0x00007ff39f430000)
libmwlapack.so => /home/lz225/v76/bin/glnxa64/libmwlapack.so (0x00007ff39f2ed000)
libfftw3.so.3 => /home/lz225/v76/bin/glnxa64/libfftw3.so.3 (0x00007ff39f13c000)
libfftw3f.so.3 => /home/lz225/v76/bin/glnxa64/libfftw3f.so.3 (0x00007ff39ef90000)
libmwcolamd.so => /home/lz225/v76/bin/glnxa64/libmwcolamd.so (0x00007ff39ee8a000)
libmwamd.so => /home/lz225/v76/bin/glnxa64/libmwamd.so (0x00007ff39ed81000)
libmwcholmod.so => /home/lz225/v76/bin/glnxa64/libmwcholmod.so (0x00007ff39ec0e000)
libmwumfpack.so => /home/lz225/v76/bin/glnxa64/libmwumfpack.so (0x00007ff39ea6e000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007ff39e865000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007ff39e649000)
libXp.so.6 => not found
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007ff39e42d000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007ff39e229000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007ff39e025000)

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

Last edited by castles; 01-17-2012 at 09:24 PM.
 
Old 01-17-2012, 09:47 PM   #5
jthill
Member
 
Registered: Mar 2010
Distribution: Arch
Posts: 209

Rep: Reputation: 65
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.
 
1 members found this post helpful.
Old 01-18-2012, 03:42 AM   #6
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware64 13.37 / 14.0
Posts: 127

Rep: Reputation: 45
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
 
1 members found this post helpful.
Old 01-18-2012, 04:08 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
$ yum provides */libXp.so.6

$ yum search libXp
( Will list libXp.i686, libXp.x86_64. Both can be installed.)

# yum install libXp.<arch>

.

Last edited by knudfl; 01-18-2012 at 04:09 AM.
 
1 members found this post helpful.
Old 01-18-2012, 12:49 PM   #8
castles
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
The yum install worked perfectly. Thanks for your help, everyone!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cannot open shared object file: No such file or directory - but the file is there! Ook Slackware 5 08-24-2011 05:13 PM
Error: "libdmx.so.1: cannot open shared object file: No such file or directory" ESC201 Linux - Software 4 11-01-2008 08:38 PM
libipr.so.6: cannot open shared object file: no such file or directory praveen49 General 3 07-30-2008 01:47 PM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 01:02 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration