microsoft / vscode-postgresql

PostgreSQL extension for VSCODE
Other
426 stars 54 forks source link

ImportError: libffi.so.6: cannot open shared object file: No such file or directory #94

Open bsharma06 opened 3 years ago

bsharma06 commented 3 years ago

Steps to Reproduce:

  1. Ctrl+Shift+P
  2. PostgreSQL: New Query

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 File "/usr/local/lib/python3.6/dist-packages/ptvsd/init.py", line 17, in File "/usr/local/lib/python3.6/dist-packages/ptvsd/attach_server.py", line 35, in File "/usr/local/lib/python3.6/dist-packages/ptvsd/visualstudio_py_debugger.py", line 24, in File "/usr/lib/python3.6/ctypes/init.py", line 7, in ImportError: libffi.so.6: cannot open shared object file: No such file or directory [Error - 10:35:10 pm] Connection to server got closed. Server will not be restarted.

warcayac commented 3 years ago

Same error on Manjaro KDE Plasma.

drazisil commented 3 years ago

@warcayac In our case, at least, it is likely because Manjaro is Arch, not Ubuntu or Debian. There doesn't seem to be a version for that: https://github.com/Microsoft/vscode-postgresql/releases

nzig commented 3 years ago

Duplicate of #77.