GLIBC version error on Ubuntu 20.04 lts #76

Closed
opened 2026-02-16 00:19:38 -05:00 by yindo · 3 comments
Owner

Originally created by @czn574775237 on GitHub (Apr 7, 2025).

My env is the WSL2 with Ubuntu 20.04 lts on Windows 11.

As I run the dify-plugin-daemon, it came with below error log:

dify-plugins on  master [?] is 📦 v0.1.0 via 🐍 v3.12.9 took 39s 
❯ chmod +x dify-plugin-linux-amd64 

dify-plugins on  master [?] is 📦 v0.1.0 via 🐍 v3.12.9 
❯ ./dify-plugin-linux-amd64 
./dify-plugin-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./dify-plugin-linux-amd64)
./dify-plugin-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./dify-plugin-linux-amd64)

My glic version:

❯ /lib/x86_64-linux-gnu/libc.so.6 --version
GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9.17) stable release version 2.31.
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 9.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.

Thougth I can use wsl2 install Ubutun 24 LTS, it will execute perfectly.

Can the dify-plugin-daemon support the glic 2.31 version, the Ubuntu 20 default install the glibc version 2.31.

Originally created by @czn574775237 on GitHub (Apr 7, 2025). My env is the WSL2 with Ubuntu 20.04 lts on Windows 11. As I run the dify-plugin-daemon, it came with below error log: ```bash dify-plugins on  master [?] is 📦 v0.1.0 via 🐍 v3.12.9 took 39s ❯ chmod +x dify-plugin-linux-amd64 dify-plugins on  master [?] is 📦 v0.1.0 via 🐍 v3.12.9 ❯ ./dify-plugin-linux-amd64 ./dify-plugin-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./dify-plugin-linux-amd64) ./dify-plugin-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./dify-plugin-linux-amd64) ``` My glic version: ```bash ❯ /lib/x86_64-linux-gnu/libc.so.6 --version GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9.17) stable release version 2.31. Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 9.4.0. libc ABIs: UNIQUE IFUNC ABSOLUTE For bug reporting instructions, please see: <https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>. ``` Thougth I can use wsl2 install Ubutun 24 LTS, it will execute perfectly. Can the dify-plugin-daemon support the glic 2.31 version, the Ubuntu 20 default install the glibc version 2.31.
yindo closed this issue 2026-02-16 00:19:38 -05:00
Author
Owner

@IamWWT commented on GitHub (Apr 8, 2025):

same promblem, cannot run the binary package. i run in rhel7.7
==info as following。

(test) [root@test my]# docker ps -a |grep ubuntu
80bb8f052f1e   ubuntu/squid:latest                         "sh -c 'cp /docker-e…"   14 hours ago   Up 14 hours             3128/tcp                                                                                   docker-ssrf_proxy-1
(test) [root@test my]# dify --version
dify: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by dify)
dify: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by dify)
(test) [root@test my]# /lib64/libc.so.6 --version
GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.8.5 20150623 (Red Hat 4.8.5-39).
Compiled on a Linux 3.10.0 system on 2019-04-30.
Available extensions:
  The C stubs add-on version 2.1.2.
  crypt add-on version 2.1 by Michael Glad and others
  GNU Libidn by Simon Josefsson
  Native POSIX Threads Library by Ulrich Drepper et al
  BIND-8.2.3-T5B
  RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
@IamWWT commented on GitHub (Apr 8, 2025): same promblem, cannot run the binary package. i run in rhel7.7 ==info as following。 ```shell (test) [root@test my]# docker ps -a |grep ubuntu 80bb8f052f1e ubuntu/squid:latest "sh -c 'cp /docker-e…" 14 hours ago Up 14 hours 3128/tcp docker-ssrf_proxy-1 (test) [root@test my]# dify --version dify: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by dify) dify: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by dify) (test) [root@test my]# /lib64/libc.so.6 --version GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al. Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.8.5 20150623 (Red Hat 4.8.5-39). Compiled on a Linux 3.10.0 system on 2019-04-30. Available extensions: The C stubs add-on version 2.1.2. crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B RT using linux kernel aio libc ABIs: UNIQUE IFUNC For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. ```
Author
Owner

@Yeuoly commented on GitHub (Apr 11, 2025):

I've disabled CGO_ENABLED here https://github.com/langgenius/dify-plugin-daemon/pull/196/files#diff-2e6072c13d92f7ec33d8e93afcd3dafd1cd5cf3eba7c5d29e06ff69f5122cc21R41

please just wait for the next release

@Yeuoly commented on GitHub (Apr 11, 2025): I've disabled CGO_ENABLED here https://github.com/langgenius/dify-plugin-daemon/pull/196/files#diff-2e6072c13d92f7ec33d8e93afcd3dafd1cd5cf3eba7c5d29e06ff69f5122cc21R41 please just wait for the next release
Author
Owner

@Yeuoly commented on GitHub (Apr 14, 2025):

Close as finsihed

@Yeuoly commented on GitHub (Apr 14, 2025): Close as finsihed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#76