kermitt2 / grobid

A machine learning software for extracting information from scholarly documents

Home Page:https://grobid.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sawyerzheng opened this issue · comments

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?

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.