Skip to first unread message

Rob Hart

Jul 6, 2021, 10:36:41 AMJul 6
to diffpy-users
Hi all,
I'm trying to run xPDF suite under Ubuntu 18.04 on Intel. Calling getxgui starts the xPDFsuite as expected, but clicking "PDFgui for PDF modeling" dumps 

rob@82JLDF3:~/xPDFsuite/Python27/bin$ ./getxgui
Traceback (most recent call last):
  File "/home/rob/xPDFsuite/Python27/bin/pdfgui", line 9, in <module>
    load_entry_point('diffpy.pdfgui==1.1a', 'gui_scripts', 'pdfgui')()
  File "build/bdist.linux-x86_64/egg/diffpy/pdfgui/applications/", line 116, in main
  File "build/bdist.linux-x86_64/egg/diffpy/pdfgui/gui/", line 20, in <module>
  File "/home/rob/xPDFsuite/Python27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/", line 45, in <module>
    from wx._core import *
  File "/home/rob/xPDFsuite/Python27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/", line 4, in <module>
    import _core_
ImportError: cannot open shared object file: No such file or directory

into the terminal. Did not have anywhere, so I downloaded and installed libgstreamer0.10-0_0.10.36-1.5_i396.deb so now I have /usr/lib/i386-linux-gnu/ but somehow the program does not know about it? Looking at /home/rob/xPDFsuite/Python27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/, it says "# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead." I don't know about the SWIG interface so I have not gone any further down that avenue. 
Has anyone else encountered this problem? If so, how did you fix it? I am thinking about deleting later versions of libgstreamer to see if the system falls back to the -0 version but that seems like it could have bad consequences? 
If I had compiled from source I would recompile and relink and think that would fix it. Is there an analogous process for this software? Any ideas? 
Thanks in advance!
Best regards,

Rob Hart

Jul 12, 2021, 1:51:00 PMJul 12
to diffpy-users
Update on this in case anyone else gets this problem. 
Got the library linked (once I downloaded the 64 bit version) but then it gives a harfbuzz error. I did not work through that. 
Ended up running a Ubuntu 12.04 virtual machine and that seems to be working.  

Reply all
Reply to author
0 new messages