DDNS icon indicating copy to clipboard operation
DDNS copied to clipboard

[debug] GLIBC_2.35 not found

Open Zplusless opened this issue 2 years ago • 3 comments

描述问题 (Describe the bug)

运行报错,GLIBC_2.35 not found

版本信息 (version info)

  • DDNS Version: 2.13.3
  • OS Version: ubuntu server 20.04.6
  • Type(运行方式): Binary
  • related issues (相关问题):

复现步骤 (To Reproduce)

.ddns -c config.json

配置文件 (config file)

{
    "id": "***",
    "token": "*****",
    "dns": "dnspod",
    "ipv4": ["***.cn"],
    "ipv6": ["****.cn"],
    "index4": ["public","regex:166.*"],
    "index6": ["public","regex:2402:*"],
    "ttl": 600,
    "debug": true
  }

调试输出 (debug output)

粘贴输出日志

[403947] Error loading Python lib '/tmp/_MEIvEtLuH/libpython3.11.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIvEtLuH/libpython3.11.so.1.0)

补充说明 (Additional context)

Zplusless avatar Jun 16 '23 05:06 Zplusless

用pip版的,或者 升级一些 glibc库

NewFuture avatar Jun 19 '23 07:06 NewFuture

应该是二进制版本打包时是在高版本linux下进行的,在低版本系统运行时因为libc6版本太低报错。 我在低版本libc6环境中,使用pyinstaller重新打包源码后形成二进制文件,可以在ubuntu20下运行。 所以,自己编译下源码可以解决问题。

liuzengyun avatar Oct 07 '23 14:10 liuzengyun