Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.4.2
-
None
-
None
-
Debian 12.5 Server in QEMU/KVM virtual machine under Proxmox 8.2
Description
Hello,
I installed MariaDB server with additional utilities onto a Debian 12 server running in a virtual machine on Proxmox, using the MariaDB apt repo using the current (as of July 22, 2024) mariadb_repo_setup script.
I also installed the mariadb-shell package.
When I try to run it, it gives the following Python stack trace:
root@memory-alpha2:~# mariadb-shell -v |
Traceback (most recent call last):
|
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/cx_Freeze/initscripts/__startup__.py", line 131, in run |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/cx_Freeze/initscripts/console.py", line 16, in run |
File "/sealion/sealion/__main__.py", line 5, in <module> |
File "/sealion/sealion/app.py", line 14, in <module> |
File "/sealion/sealion/commands.py", line 26, in <module> |
File "/sealion/sealion/helpers.py", line 12, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/terminaltables/__init__.py", line 9, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/terminaltables/ascii_table.py", line 3, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/terminaltables/base_table.py", line 3, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/terminaltables/build.py", line 3, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/terminaltables/width_and_alignment.py", line 6, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/site-packages/terminaltables/terminal_io.py", line 3, in <module> |
File "/root/.pyenv/versions/3.10.10/lib/python3.10/ctypes/__init__.py", line 8, in <module> |
ImportError: libffi.so.7: cannot open shared object file: No such file or directory |
After a bit of troubleshooting, I've realized that the version of the libffi library that ships with Debian 12 is version 8, while mariadb-shell appears to look explicitly for version 7.
Would it be possible to update mariadb-shell to look for either version 7 or version 8 of this library?