libgstreamer-0.10.so.0 error

23 views
Skip to first unread message

Rob Hart

unread,
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/pdfgui.py", line 116, in main
  File "build/bdist.linux-x86_64/egg/diffpy/pdfgui/gui/Main.py", line 20, in <module>
  File "/home/rob/xPDFsuite/Python27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/home/rob/xPDFsuite/Python27/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 4, in <module>
    import _core_
ImportError: libgstreamer-0.10.so.0: cannot open shared object file: No such file or directory

into the terminal. Did not have libgstreamer-0.10.so.0 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/libgstreamer-0.10.so.0 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/_core.py, 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

Rob Hart

unread,
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
Forward
0 new messages