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.
sudozypper se -i libffi
S | Name | Summary | Type
---+---------+------------------------------------+--------
i+ | libffi8 | Foreign Function Interface Library | package
Thanks for the feedback about rpm. I can testify you are 100% right.
are you even on aarch64?
I am not.
arch
x86_64
Regarding server:monitoring repository, I was not even aware of it. Honestly I was used to get packages from any open suse repo out there (mostly LEAP 15) [possibly a big mistake as well].
sudo zypper se -i libffi
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+---------+------------------------------------+--------
i+ | libffi6 | Shared library for libffi | package
i+ | libffi8 | Foreign Function Interface Library | package
Many many thanks!
Also, regarding being a newbie and use a rolling release distro that is because it was the only Linux distro that worked fine on my notebook HP ENVY x360.
How dangerous that sounds to you? Should I changes OS ASAP?
Hi
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