sddsplot error on Fedora-18 mpl_motif: symbol lookup error

Moderators: cyao, soliday

Post Reply
yjkim
Posts: 9
Joined: 10 Jun 2008, 02:09
Contact:

sddsplot error on Fedora-18 mpl_motif: symbol lookup error

Post by yjkim » 22 Apr 2013, 15:41

Dear Dr. Borland.

Recently, I installed elegant and SDDS Tool kit on Fedora 18 - 32 bit.
Followings are installed rpm packages:

SDDSEpicsToolKit-2.11-1.i386.rpm
SDDSToolKit-2.11-1.i386.rpm
OAGTclTk-8.4.13-6.i386.rpm
EpicsExtensions-3.14.11-1.i386.rpm
elegant-25.1.0-2.i386.rpm
clinchor-1.0-1.i386.rpm
shower-1.10-1.i386.rpm
spiffe-4.1-1.i386.rpm

Their installation was OK.
However, I met a following error whenever I ran sddsplot.

mpl_motif: symbol lookup error: /usr/lib/libXfixes.so.3: undefined symbol: _XGetRequest

Therefore, I can not plot any thing with sddsplot now.
Can you give any valuable recommendation to fix this error?

Sincerely yours,

Yujong Kim

soliday
Posts: 391
Joined: 28 May 2008, 09:15

Re: sddsplot error on Fedora-18 mpl_motif: symbol lookup err

Post by soliday » 22 Apr 2013, 17:09

I will setup a 32bit Fedora 18 test system tomorrow to try to identify the problem.

soliday
Posts: 391
Joined: 28 May 2008, 09:15

Re: sddsplot error on Fedora-18 mpl_motif: symbol lookup err

Post by soliday » 23 Apr 2013, 14:04

Download this file and copy over your version of mpl_motif with this

http://www.aps.anl.gov/asd/oag/download ... .f18.32bit

Then let me know if it works for you.

yjkim
Posts: 9
Joined: 10 Jun 2008, 02:09
Contact:

Re: sddsplot error on Fedora-18 mpl_motif: symbol lookup err

Post by yjkim » 23 Apr 2013, 16:46

Dear Dr. Soliday,

I downloaded your new mpl_motif and replaced it with old one.
But I met a following error:

mpl_motif: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory

Therefore, I made a soft link:
ln -s libXm.so.2.0.1 libXm.so.4

After this, I ran sddsplot again.

Now it generates following endless warnings:
sddsplot -col=s,Ss fourDipoleCSR.sig
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback


Even though there are the warnings, now I can see one sddsplot display screen, but I can not use any File menu.
The menu was frozen and does not work.
Therefore, plot saving is impossible now.

Please would you look into it again?

soliday
Posts: 391
Joined: 28 May 2008, 09:15

Re: sddsplot error on Fedora-18 mpl_motif: symbol lookup err

Post by soliday » 24 Apr 2013, 09:06

Remove the symbolic link you made to libXm.so.4.
libXm.so.2.0.1 is from lesstif and libXm.so.4 is from motif.
Run "sudo apt-get install motif" to install the missing libXm.so.4 library.

yjkim
Posts: 9
Joined: 10 Jun 2008, 02:09
Contact:

Re: sddsplot error on Fedora-18 mpl_motif: symbol lookup err

Post by yjkim » 24 Apr 2013, 10:09

Dear Dr. Soliday,

Many thanks! It works.
Followings are my steps:

1) I replaced /usr/bin/mpl_motif with your uploaded new version
2) I removed my wrong linked libXm.so.4
3) I removed lesstif-mwm with yum remove lesstif-mwm because it conflicts with motif
4) I removed lesstif-clients with yum remove because it conflicts with motif
5) I installed motif with yum install motif

Then, sddsplot works well. Printing and selecting menu are no problem.

Many thanks for your quick action!

Yujong Kim

Post Reply