English 中文(简体)
Error /lib/x86_64-linux-gnu/libc.so.6: 文本`GLIBC_2.34 不详
原标题:Error /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34 not found

首先,我看一看一看,我看不到与我的案件有关的事情,我有一个ELF可起诉的文件Im试图在我的Ubtu WSL上管理,我已经修改了许可(chmod +x file)。

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34  not found (required by myFile)

以及当我使用平方指挥时,我就会看到这一点。

myFile(.eh_frame); no .eh_frame_hdr table will be created

并且当我试图提升GLIBC时,它说它是最新的。

Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version (2.31-0ubuntu9.7).
libc6 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.

and then I tried manually installing the deb file from https://packages.ubuntu.com/impish/amd64/libc6/download but this shows up to me :

dpkg: regarding libc6_2.34-0ubuntu3.2_amd64.deb containing libc6:amd64:
 libc6:amd64 breaks fakeroot (<< 1.25.3-1.1ubuntu2~)
  fakeroot (version 1.24-1) is present and installed.

dpkg: error processing archive libc6_2.34-0ubuntu3.2_amd64.deb (--install):
 installing libc6:amd64 would break fakeroot, and
 deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
 libc6_2.34-0ubuntu3.2_amd64.deb
问题回答

在执行<条码>make<>/条码>时,我用第2022.11号楼将这一错误带上。

Ubuntu 20.04 - added this repo as described in the link

sudo apt update
sudo apt install libc6

它自动为我安装了2.35台。

DISCLAIMER:我不是专业人才,只是为我自己的问题找到了一条道路,但不能发现错误:

maybe you cannot use the binary since it was compiled with gcc-11 and your gcc version of your linux distribution and version only is gcc-9 and therefore only provides glibc_2.31 (I guess). you can try to compile the program yourself from source. I had to do this with the new stockfish version 15, which also uses updated glibc_2.32/2.33/2.34 and my linux-mint does not provide that. But compiling from source worked like a charm. Maybe this is an option for you.

In my case, replace FROM go:1.21 with FROM go:1.21.0-bullseye (docker) or try tinkering there.

我有类似的情况。

I copied my executed file from a CentOS VM1 to another CentOS VM2, then I got the same question, I just copy the source code to VM2,and recompile it, then the question is solved.

我拿着一本书和一本书汇编,因此,汇编过程简单,更新平衡可能会造成其他问题,而且更为复杂。 我是一位吉祥的希望,希望帮助u

I had the same problem, it was an issue about the overwrite of the Environment Variable LD_LIBRARY_PATH. Try to check this solution

我得以将其汇编成3个参数,为我工作。 实际上,本科文是乌班图20.04,已安装GLIBC_2.35。

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./app .




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签