rschupp / PAR-Packer

(perl) Generate stand-alone executables, perl scripts and PAR files https://metacpan.org/pod/PAR::Packer
Other
48 stars 13 forks source link

./test: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./test) #59

Closed 825644691 closed 2 years ago

825644691 commented 2 years ago

pp --link=/usr/lib64/libc-2.17.so -o test test.pl

I make in centos7 and execute in centos6.....how to compile the glibc into the executable file? ./test: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./test)

rschupp commented 2 years ago

how to compile the glibc into the executable file?

You can't, sorry.

825644691 commented 2 years ago

how to compile the glibc into the executable file?

You can't, sorry.

has any way to make in centos7 and execute in centos6.

825644691 commented 2 years ago

I just want to compile the excutable file running in centos6(glibc2.12) and centos7(glibc2.17),has any way?