TravaOpenJDK / trava-jdk-11-dcevm

dcevm-11 built on Travis
Apache License 2.0
403 stars 57 forks source link

Issues with CentOS 6.6 #19

Open vinz243 opened 4 years ago

vinz243 commented 4 years ago

I'm using CentOS 6.6 Final, and running java -version does not work.

$ /usr/local/dcevm-11.0.1+8/bin/java -version
/usr/local/dcevm-11.0.1+8/bin/java: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/dcevm-11.0.1+8/bin/../lib/jli/libjli.so)

So I downloaded and built glibc 2.14 and added it to the path :

$ LD_LIBRARY_PATH="/opt/glibc-2.14/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" /usr/local/dcevm-11.0.1+8/bin/java -version

However it just gets stuck and nothing happens then.

skybber commented 4 years ago

We could try to make a clone of trava-jdk-11-dcevm and modify .travis.yml to build centos on Travis.

YuZeChan commented 11 months ago

I,m using centos7 and coming to a similar error code: Error: failed /usr/local/dcevm-11.0.15+1/lib/server/libjvm.so, because /lib64/libm.so.6: versionGLIBC_2.27' not found (required by /usr/local/dcevm-11.0.15+1/lib/server/libjvm.so)`

Is there an offical way to resolve this? a lot of thanks!!!

skybber commented 11 months ago

It is quite old distro, you can look at github actons how to build it.