I am trying to use vscode-postgresql extension which demands libffi.so.6 installed.
Whenever I try to establish a connection, I get the following error:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/cx_Freeze/initscripts/__startup__.py", line 14, in run
File "/usr/local/lib/python3.6/dist-packages/cx_Freeze/initscripts/Console.py", line 26, in run
File "pgsqltoolsservice/pgtoolsservice_main.py", line 11, in <module>
File "/usr/local/lib/python3.6/dist-packages/ptvsd/__init__.py", line 17, in <module>
File "/usr/local/lib/python3.6/dist-packages/ptvsd/attach_server.py", line 35, in <module>
File "/usr/local/lib/python3.6/dist-packages/ptvsd/visualstudio_py_debugger.py", line 24, in <module>
File "/usr/lib/python3.6/ctypes/__init__.py", line 7, in <module>
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
[Error - 20:01:51] Connection to server got closed. Server will not be restarted.
It seems a known issue* and one the possible workaround is to install libffi6.
Tumbleweed is fine Just take small steps, if not sure just start a new thread. You can use zypper to install rpms as well, suggest you start learning up on that. Don’t forget to use zypper dup when a new snapshot is released… and most important of all enjoy