PackageCompiler.jl icon indicating copy to clipboard operation
PackageCompiler.jl copied to clipboard

Compiled app hangs on centos 6.8

Open jsjie opened this issue 3 years ago • 2 comments

using docker image centos 6.8 and julia 1.7.1 official binary, a hello-world package with only one file in src/:

module HW
function hw()::Cint
    print("hello, world!")
    return 0
end
end

The compiled binary will hang in the image. However, copy it to something like ubuntu 20.04, and it works just fine.

jsjie avatar Sep 14 '22 10:09 jsjie

@jsjie did you ever figure out the issue? mine hangs in ubuntu and debian but works in windows :(

p20241213 avatar Jan 20 '25 19:01 p20241213

No, I didn't fix it. It has been too long and I cannot remember clearly, but it may be due to glibc. Julia has a requirement for the glibc version, and that on Centos 6.8 is too old. Currently my app runs fine on Centos 7.

jsjie avatar Jan 21 '25 06:01 jsjie