Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v20的foundation运行ldconfig报错 #434

Open
myml opened this issue May 15, 2024 · 4 comments
Open

v20的foundation运行ldconfig报错 #434

myml opened this issue May 15, 2024 · 4 comments

Comments

@myml
Copy link
Member

myml commented May 15, 2024

在uos v20的foundation中运行ldconfig报错如下

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0.0.5 is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse-simple.so is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse-simple.so.0 is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.1 is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse.so is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse.so.0 is truncated

ldconfig: file /runtime/lib/x86_64-linux-gnu/libpulse.so.0.20.3 is truncated

这些文件都是通过解压deb得到的,在解压deb时会使用patchelf更改so文件的RUN_PATH,使用deb原生的so文件替换后,不再报错,故应是 patchelf和ldconfig之间存在兼容问题。

通过搜索 patchelf+ldconfig+truncated 找到一个issues NixOS/patchelf#44 ,glibc2.31修复了该问题。

后续给v20的 glibc 打补丁以修复这个问题

@black-desk
Copy link
Contributor

是修patchelf还是修ld

@myml
Copy link
Member Author

myml commented May 17, 2024

是修patchelf还是修ld

写错了,已改

@black-desk
Copy link
Contributor

@black-desk
Copy link
Contributor

我们需要考虑一下用来创建玲珑base的apt仓库怎么搭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants