ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.21k stars 142 forks source link

can't start chibi-scheme-static if shared object exist in default path #897

Open chk-jxcn opened 1 year ago

chk-jxcn commented 1 year ago

If shared object exist, start chibi-scheme-static show follow error:

ERROR: couldn't find builtin library: "/usr/local/lib/chibi/srfi/69/hash.so"

Maybe could skip function file_exists_p if sexp_find_static_library fail and path end with ".so" and static compiled.

    if (sexp_find_static_library(path) || file_exists_p(path, buf))
      return path;
    free(path);