1st, there are a few mistakes in my yesteday's post :
-> all my tests were done on electrum-4.1.2, not on electrum-4.0.9.
So the true answer to my test with the tarball is :
$ ./Electrum-4.1.2/run_electrum
/usr/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24.3) or chardet (4.0.0) doesn't match a supported version!
RequestsDependencyWarning)
E | ecc_fast | failed to load libsecp256k1: LibModuleMissing('libsecp256k1 library found but it was built without required module (--enable-module-recovery)')
Error: Failed to load libsecp256k1.
Did you run this on Linux?
Yes, Mageia-7.1
sudo apt install libsecp256k1-dev
I don't know "sudo apt-get" but after having installed lib64secp256k1-devel-0.1-0.0.git20171221.2.mga7, I got the same error
Have you installed required dependency mention on electrum website?
$ rpm -qa | grep -e python3-pyqt5 -e secp256k1 -e python3-cryptography
lib64secp256k1_0-0.1-0.0.git20171221.2.mga7
python3-pyqt5-sip-4.19.16-1.mga7
python3-cryptography-2.6.1-2.mga7
lib64secp256k1-devel-0.1-0.0.git20171221.2.mga7
This message is quite vague. One of the possible version is you're using outdated OS which has very old version of Qt 5
Mageia-7.1 was a few weeks ago the last version of Mageia.
It looks like the error has to do with electrum's graphical interface. Are you running a server version operating system?
I am not running electrum as a server but on a desktop environment kde/plasma :
$ /usr/bin/plasmashell -v
plasmashell 5.15.4