Jakeukalane

fslint-gui

Dec 2nd, 2021 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1.  
  2. ~~Edit:
  3.  
  4. Solved using this: https://askubuntu.com/questions/1286772/libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory
  5.  
  6. Specifically downloading the libffi7_3.3-4_amd64.deb from the ubuntu repository, unpackaging. Going to ../data/usr/lib/x86_64-linux-gnu and copying libffi.so.7.1.0 into /usr/lib . Then linking it with:
  7. ``# ln -s /usr/lib/libffi.so.7.1.0 /usr/lib/libffi.so.7``
  8.  
  9. I don't think this is a great fix, though. I will only recommend if you know what you are doing. Any comment regarding this is welcome, even to say to me "how you even dare to do that".
  10.  
  11. greetings!
  12.  
  13.  
  14.  
  15.  
  16. New update of libffi.so broken this.
  17.  
  18. ``Traceback (most recent call last):
  19. File "/usr/bin/fslint-gui", line 32, in <module>
  20. import gtk
  21. File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 30, in <module>
  22. import gobject as _gobject
  23. File "/usr/lib/python2.7/site-packages/gobject/__init__.py", line 47, in <module>
  24. from gobject.constants import *
  25. File "/usr/lib/python2.7/site-packages/gobject/constants.py", line 24, in <module>
  26. import gobject._gobject
  27. ImportError: libffi.so.7: cannot open shared object file: No such file or directory``
  28.  
  29. However linking again to the new libffi.so.8 doesn't solve the problem.
  30.  
  31. ``sudo ln -s /usr/lib/libffi.so.8 /usr/lib/libffi.so.7``
  32.  
  33. ``Traceback (most recent call last):
  34. File "/usr/bin/fslint-gui", line 32, in <module>
  35. import gtk
  36. File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 30, in <module>
  37. import gobject as _gobject
  38. File "/usr/lib/python2.7/site-packages/gobject/__init__.py", line 47, in <module>
  39. from gobject.constants import *
  40. File "/usr/lib/python2.7/site-packages/gobject/constants.py", line 24, in <module>
  41. import gobject._gobject
  42. ImportError: /usr/lib/libffi.so.7: version `LIBFFI_BASE_7.0' not found (required by /usr/lib/python2.7/site-packages/gobject/_gobject.so)``
  43.  
  44. Thank you! ~~
Add Comment
Please, Sign In to add comment