-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"version `GLIBCXX_3.4.15' not found" #188
Comments
The pre-built J2V8 binary provided in the official distribution requires GLIBC 3.4.15 or later, which means you need to run it on CentOS 7. Alternatively, you can build J2V8 by yourself on CentOS 6. |
This will get even worse because soon glibc shipped in Ubuntu 16.04 will be most likely required to run J2V8. At the moment release for 4.8.0 uses Debian's JESSIE glibc. New build system in master is using latest Ubuntu 17.04 but we are discussing with @drywolf that this was probably premature decision. When I recommended Ubuntu 17.04 for our docker build I didn't think it will cause such issues with glibc and we didn't want to manually install cmake 3.16, sadly ubuntu 16.04 has older cmake 3.15 and we need at least 3.16. |
I'm wondering if this is a similar scenario as for the requested Alpine support #289 that has come up some time ago. This would probably cover a lot of such cases where a Linux distribution has some specialties or particular requirements for the native compilation. |
@drywolf You are right about that, and the Docker ARG can be used for exactly that. Maybe have the cmake version that is to be installed configurable. You can of course always install all kinds of cmake versions in parallel, and make the cmake version to be used a container configuration (environment vars). |
I really wish J2V8 is built against the oldest CentOS version which is not EOL'd, which will cover most users working for an enterprise. |
It would be helpful for requirements such as this to be documented. I couldn't find any requirements info already available. |
Is there a doc outlining how to compile against an older image of centos ? |
When trying to build our app (J2EE 1.8) on our build server (CentOS 6.3) using J2V8 4.5.0 in a Maven script we get the following error:
Works fine in OS X as well as Windows, any idea what might be wrong?
The text was updated successfully, but these errors were encountered: