Skip to content
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

grobid v0.7.3 cannot run on centos 7.9 with segmentation fault #1081

Open
sawyerzheng opened this issue Feb 4, 2024 · 1 comment
Open

grobid v0.7.3 cannot run on centos 7.9 with segmentation fault #1081

sawyerzheng opened this issue Feb 4, 2024 · 1 comment
Labels
Linux-specific Issue visible only on Linux environments

Comments

@sawyerzheng
Copy link

sawyerzheng commented Feb 4, 2024

CentOS 7.9 and grobid v0.7.3

  • What is your Java version (java --version)?

java 8 and java 11 has same problem

  • In case of build or run errors, please submit the error while running gradlew with --stacktrace and --info for better log traces (e.g. ./gradlew run --stacktrace --info) or attach the log file logs/grobid-service.log.

libwapiti.so -> libm.so.6 -> libc.so.6 cannot be load correct. Just give a segementation fault

my trail fixing solution:

using grobid v0.6.0 's lib/lin-64 folder to replace the corresponding v0.7.3's can fix the problem.

Is there any problem with my solution and how to fix the v0.7.3 version correctly?

@kermitt2
Copy link
Owner

kermitt2 commented Feb 4, 2024

Hello @sawyerzheng !

Thanks for the issue.

Normally libwapiti.so requires glibc version 2.14 or higher (post 2011). I suppose CentOS 7.9 has a lower version of glibc. I must emphasize that CentOS 7 and its glibc versions are outdated as Linux distribution.

How to fix the problem: update to a more recent linux distribution (CentOS 7 is reaching end of life and has security issues) or use the docker image to avoid system dependencies.

@lfoppiano lfoppiano added the Linux-specific Issue visible only on Linux environments label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux-specific Issue visible only on Linux environments
Projects
None yet
Development

No branches or pull requests

3 participants