python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
Sysop
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 17, 2021 7:50 am

python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected

Post by Sysop » Tue Aug 17, 2021 7:51 am

CentOS 7, I get this error:

Code: Select all

# yum -y install openvpn-as
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* epel: mirrors.coreix.net
* nux-dextop: mirror.li.nux.ro
Resolving Dependencies
--> Running transaction check
---> Package openvpn-as.x86_64 0:2.9.3_ed03d859-CentOS7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================================================================================================================================
Installing:
openvpn-as x86_64 2.9.3_ed03d859-CentOS7 as-repo-centos7 23 M

Transaction Summary
=================================================================================================================================================================================================================================================================================================
Install 1 Package

Total download size: 23 M
Installed size: 91 M
Downloading packages:
openvpn-as-2.9.3_ed03d859-CentOS7.x86_64.rpm | 23 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : openvpn-as-2.9.3_ed03d859-CentOS7.x86_64 1/1
Backing up configuration and DB files to /usr/local/openvpn_as/etc/backup/2021-08-17T09:35:25+0200 before update.
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
Beginning with OpenVPN AS 2.6.0 compression is disabled by default and on upgrades as security patch.
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
Created symlink from /etc/systemd/system/multi-user.target.wants/openvpnas.service to /usr/lib/systemd/system/openvpnas.service.
Verifying : openvpn-as-2.9.3_ed03d859-CentOS7.x86_64 1/1

Installed:
openvpn-as.x86_64 0:2.9.3_ed03d859-CentOS7

Complete!
When I try and start the daemon the same error persists and the daemon fails to run:

Code: Select all

Aug 17 09:30:05 ns323026 openvpnas[19986]: python3: symbol lookup error: python3: undefined symbol: _Py_LegacyLocaleDetected
Aug 17 09:30:05 ns323026 systemd[1]: openvpnas.service: main process exited, code=exited, status=127/n/a
Aug 17 09:30:05 ns323026 systemd[1]: Unit openvpnas.service entered failed state.
Aug 17 09:30:05 ns323026 systemd[1]: openvpnas.service failed.

Post Reply