如何更改Perl的GLIBC版本目录?
目前,我正在使用Ubuntu,并且我有一个用于QT跨平台构建目的的myplatform_sysroot目录。
并且在配置QT构建时,我会面临有关Perl的问题,如下所示:
perl:/lib/x86_64-linux-gnu/libc.so.6:找不到(perl)
我还尝试将CD降低到myplatform_sysroot/usr/bin并运行 ./ perl -version ,然后我遇到了相同的错误。
通过在Ubuntu中运行“ LDD - Version”检查后,我看到当前的Glibc Versio是 2.27 。并运行“ ./myplatform_sysroot/usr/bin/ldd-version” myplatform_sysroot中的glibc版本是 2.28 。我猜我的ubuntu中的myplatform_sysroot链接中的perl链接导致上述错误。
因此,我想问一下是否有任何方法可以将glibc版本指定到myplatform_sysroot,而不是主机ubuntu?
谢谢
Currently, I'm using Ubuntu, and I have a myplatform_sysroot directory used for Qt cross-platform build purposes.
And when configuring qt to build I face an issue regarding perl as below:
perl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by perl)
I also tried to cd to myplatform_sysroot/usr/bin and run ./perl --version, then I got the same error.
After checking by running "ldd --version" in my ubuntu, I see the current GLIBC versio is 2.27. And running "./myplatform_sysroot/usr/bin/ldd --version" the GLIBC version in the myplatform_sysroot is 2.28. I guess that perl in myplatform_sysroot link to the GLIBC in my Ubuntu lead to the above error.
So I'd like to ask if there are any ways to specify the GLIBC version to myplatform_sysroot, not host Ubuntu?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论