xgboost icon indicating copy to clipboard operation
xgboost copied to clipboard

OSError: xgboost/libxgboost.so: ELF file OS ABI invalid

Open yayawcx opened this issue 7 years ago • 3 comments

Error message:

import xgboost as xgb /home/work/.jumbo/lib/python2.7/site-packages/sklearn/externals/joblib/_multiprocessing_helpers.py:28: UserWarning: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.. joblib will operate in serial mode warnings.warn('%s. joblib will operate in serial mode' % (e,)) Traceback (most recent call last): File "", line 1, in File "/home/work/.jumbo/lib/python2.7/site-packages/xgboost-0.6-py2.7.egg/xgboost/init.py", line 11, in from .core import DMatrix, Booster File "/home/work/.jumbo/lib/python2.7/site-packages/xgboost-0.6-py2.7.egg/xgboost/core.py", line 115, in _LIB = _load_lib() File "/home/work/.jumbo/lib/python2.7/site-packages/xgboost-0.6-py2.7.egg/xgboost/core.py", line 109, in _load_lib lib = ctypes.cdll.LoadLibrary(lib_path[0]) File "/home/work/.jumbo/lib/python2.7/ctypes/init.py", line 443, in LoadLibrary return self._dlltype(name) File "/home/work/.jumbo/lib/python2.7/ctypes/init.py", line 365, in init self._handle = _dlopen(self._name, mode) OSError: /home/work/.jumbo/lib/python2.7/site-packages/xgboost-0.6-py2.7.egg/xgboost/libxgboost.so: ELF file OS ABI invalid

yayawcx avatar Dec 20 '18 07:12 yayawcx

@yayawcx Can you please provide the following information:

  • OS Platform, including CPU architecture(x86-64 or i686), name of distribution, libc version. (Is it in docker environment? )
  • XGBoost version.
  • How did you install XGBoost? (pip, conda, compiling from source or something else).

trivialfis avatar Dec 20 '18 08:12 trivialfis

@yayawcx Any update?

trivialfis avatar Dec 29 '18 10:12 trivialfis

@yayawcx More information is needed. Closing for now and feel free to reopen.

trivialfis avatar Jan 09 '19 18:01 trivialfis