Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22032

How to change glibc version directory for perl?

$
0
0

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


Viewing all articles
Browse latest Browse all 22032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>