[Seek Help] ImportError: libm.so.6: version `GLIBC_2.29' not found
Tofloor
poster avatar
monkeycc
deepin
2023-05-29 19:33
Author

系统

deepin 20.9

ImportError: /lib/x86_64-linux-gnu/libm.so.6: versionGLIBC_2.29' not found

python中

dearpygui

报错

于是想安装编译 又报错

root@xxxx-PC:/home/xxxx/glibc-2.29/build# ../configure --prefix=/opt/glibc-2.29checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for readelf... readelf
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking whether gcc compiles in -mx32 mode by default... nochecking for use of fpu sysdeps directories... yes
checking for -fstack-protector... yes
checking for -fstack-protector-strong... yes
checking for -fstack-protector-all... yes
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... yes
checking whether the linker supports textrels along with ifunc... yes
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.31.1, ok
checking for ld... ld
checking version of ld... 2.31.1, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 4.2.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.19.8.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 6.5, ok
checking for sed... sed
checking version of sed... 4.7, ok
checking for gawk... gawk
checking version of gawk... 4.2.1, ok
checking for bison... bison
checking version of bison... 3.3.2, ok
checking if gcc is sufficient to build libc... yes
checking for nm... nm
checking for python3... python3
checking version of python3... 3.7.3, ok
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-05-29 19:40
#1

deepin的glibc版本比较旧,不支持qt6。

Reply View the author
enforcee
deepin
2023-05-29 21:06
#2

试试我做的小工具:https://bbs.deepin.org/zh/post/256555

我不想再看见有人因为这个事情弄坏系统了,幸好一个没什么关系的报错拦住了下一步

pride

Reply View the author
jjcui8595
Moderator
2023-05-29 21:13
#3

V23不支持32位库

Reply View the author
神末shenmo
Moderator
Spark-App
2023-05-29 21:26
#4

https://bbs.deepin.org/post/256555

Reply View the author
monkeycc
deepin
2023-05-29 22:45
#5

@enforcee

大佬

安装 additional-base-lib-2.36-9-1.deb 之后

要怎么使用?

看了教程 也是云里雾里的

使用:安装好了后,在终端运行不兼容的软件时,只需要在前面加上ablrun和空格就可以了。ablrun [命令]

但是我的是python

ablrun python 1.py

结果直接到python编译器了

并没有执行我的1.py

主要是python中的dearpygui框架用不了

pip install dearpygui

1.py

import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport(title='Custom Title', width=600, height=300)

with dpg.window(label="Example Window"):
    dpg.add_text("Hello, world")
    dpg.add_button(label="Save")
    dpg.add_input_text(label="string", default_value="Quick brown fox")
    dpg.add_slider_float(label="float", default_value=0.273, max_value=1)

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
Reply View the author
enforcee
deepin
2023-05-29 23:24
#6

抱歉,是我写脚本的时候疏忽了,楼主暂时编辑一下/usr/bin/ablrun文件,把最后一行的 bash -c $@ 改成 bash -c "$*" 应该就能解决问题。

我可能会之后重新做一个包,对不起呀。

yeah

Reply View the author
enforcee
deepin
2023-05-29 23:58
#7

图片.png

我这里测试是可以的,如果楼主自己改有点麻烦的话,我等一会就把包重新打好。

Reply View the author
enforcee
deepin
2023-05-30 00:25
#8

楼主,我的包上传完了,你可以在我之前发布的帖子里面下载。

https://bbs.deepin.org/post/256555

Reply View the author
monkeycc
deepin
2023-05-30 01:24
#9

@enforcee

大佬

测试通过

请收下我的膝盖blush like

Reply View the author
sunshine-wc
deepin
2023-05-30 19:20
#10
enforcee

抱歉,是我写脚本的时候疏忽了,楼主暂时编辑一下/usr/bin/ablrun文件,把最后一行的 bash -c $@ 改成 bash -c "$*" 应该就能解决问题。

我可能会之后重新做一个包,对不起呀。

yeah

原来如此,之前我以为是操作不对,又不好意思问😂😂😂,因为没看到别人说不行的

Reply View the author
阿尼樱奈奈
Moderator
2023-05-30 19:21
#11
enforcee

抱歉,是我写脚本的时候疏忽了,楼主暂时编辑一下/usr/bin/ablrun文件,把最后一行的 bash -c $@ 改成 bash -c "$*" 应该就能解决问题。

我可能会之后重新做一个包,对不起呀。

yeah

没有关系的。

Reply View the author
sunshine-wc
deepin
2023-05-30 19:34
#12
阿尼樱奈奈

没有关系的。

是的,能提供这样的解决思路和工具已经很棒了。不是所有的东西都能用flatpak来解决的。

Reply View the author
enforcee
deepin
2023-05-30 19:47
#13
sunshine-wc

原来如此,之前我以为是操作不对,又不好意思问😂😂😂,因为没看到别人说不行的

我等了好久都没人反映问题,我还以为大家都用不上

joy

Reply View the author
enforcee
deepin
2023-05-30 20:02
#14
sunshine-wc

原来如此,之前我以为是操作不对,又不好意思问😂😂😂,因为没看到别人说不行的

如果有别的使用案例方便的话也可以分享出来,也让我和大家都能了解使用效果

blush

Reply View the author
152******83
deepin
2024-05-07 15:21
#15

福音,谢谢大佬,测试两款软件都可以正常使用

Reply View the author