DataEditor: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
I downloaded libmotif4_2.3.3.5_amd64.deb from http://ftp.debian.org/debian/pool/non-free/o/openmotif/.
$ sudo dpkg -i libmotif4_2.3.3-5_amd64.deb
Successful installation.
$ sudo ln -s /usr/lib/libXm.so.4 /usr/lib/libXm.so.3
Error message is still there.
From this webpage: http://people.virginia.edu/~ll2bf/docs/nix/ads.html
I knew there is a problem with the 64 bit and 32 bit library.
Thus, I downloaded libmotif3-i386 package and used following command lines:
$ ar vx libmotif3*i386.deb
You may get three files: "data.tar.gz", "control.tar.gz", and "debian-binary". The libraries are in "data.tar.gz". So further extract
$ tar zxf data.tar.gz
You will find an extracted directory called "usr". And the 32-bit version libraries are in "/usr/lib/". Copy them to the system directory for 32-bit "/usr/lib32".
$ sudo cp usr/lib/lib* /usr/lib32
Error message changed. Well, optimistically, something worked.
CTFError : Couldn't get description for error number 7002
throw message : Trouble launching the message daemon.
debug message : Error 7002: line 748 of /home/qc10/release5.4.0-AnalysisSw/MEG/code/ctf/ctfwt/src/CTFMessageHub.cc
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 1957 requests (1946 known processed) with 68 events remaining.
XIO: fatal IO error 2 (No such file or directory) on X server ":0.0"
after 1946 requests (1896 known processed) with 68 events remaining.
Wow ... now I need to figure out this error. :(
However, SAMMenu works.
DataEditor must need something more than SAMMenu does.
MRIViewer does not work either.
Error message:
CTFError : Couldn't get description for error number 7002
throw message : Trouble launching the message daemon.
debug message : Error 7002: line 748 of /home/qc10/release5.4.0-AnalysisSw/MEG/code/ctf/ctfwt/src/CTFMessageHub.cc
XIO: fatal IO error 2 (No such file or directory) on X server ":0.0"
after 1082 requests (1031 known processed) with 32 events remaining.
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0x46000b4
Serial number of failed request: 1615
Current serial number in output stream: 1628
It seems like an error caused by the picture and font system. Try to add all available X11 font packages.
YEAH! I found my problem when I try to use PlotTool command. I did not set up my .bashrc file right.
export PATH=/home/yingying/opt/ctf/bin/:$PATH
export CTF_DIR=/home/yingying/opt/ctf/
These two lines need to be added to my .bashrc file. I wrote the second one wrong. Now everything works. BINGO! See the attached picture:
No comments:
Post a Comment