code: def _load_lib():
      
      lib_path = find_lib_path()
      if len(lib_path) == 0:
          return None
      lib = ctypes.cdll.LoadLibrary(lib_path[0])
      lib.LGBM_GetLastError.restype = ctypes.c_char_p
      return lib
docs: Load LightGBM library.