$ ./csi CHICKEN (c) 2008-2022, The CHICKEN Team (c) 2000-2007, Felix L. Winkelmann Version 5.3.1 (rev 1fa5bc18) linux-unix-clang-x86-64 [ 64bit dload ptables ] Type ,? for help. ; loading /home/siiky/.csirc ... ; loading ./chicken.load.import.scm ... Error: unable to load library read-syntax "cannot load compiled code dynamically - this is a statically linked executable" Call history: (##core#require posix chicken.time.posix) (chicken.load#load-unit (##core#quote posix) (##core#quote #f) (##core#quote #f)) (##core#quote posix) (##core#quote #f) (##core#quote #f) (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote file) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote extras) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote extras) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote irregex) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote pathname) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote port) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote extras) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote extras) (##core#quote #f) (##core#quote #f)) (chicken.load#load-unit (##core#quote read-syntax) (##core#quote #f) (##core#quote #f)) <-- $ ldd csi linux-vdso.so.1 (0x00007ffc24f13000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f91586fc000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f915851b000) /lib64/ld-linux-x86-64.so.2 (0x00007f91587f4000) $ make check cd tests; sh runtests.sh ======================================== repository search path ... (/home/siiky/projects/zig-chicken/lib/zigchicken/11) (PASS) (repository-path) contains something by default TOTALS: 1 tests completed in 0.037 seconds 1 (100.00%) tests passed 0 (0.00%) tests failed /home/siiky/projects/chicken/tests/../zigchicken 'sample-module.scm' -output-file 'sample-module.c' '-dynamic' '-feature' 'chicken-compile-shared' '-verbose' '-include-path' '/home/siiky/projects/chicken/tests/..' '-consult-types-file' '../types.db' '-ignore-repository' '-emit-import-library' 'sample-module' generating import library `sample-module.import.scm' for module `sample-module' ... 'zig-cc' 'sample-module.c' -o 'sample-module.o' -c '-fno-strict-aliasing' '-fwrapv' '-DHAVE_CHICKEN_CONFIG_H' '-DC_ENABLE_PTABLES' '-Os' '-march=native' '-shared' '-fPIC' '-DPIC' '-DC_SHARED' '-I/home/siiky/projects/chicken/tests/..' '-I/home/siiky/projects/zig-chicken/include/zigchicken' In file included from sample-module.c:8: /home/siiky/projects/chicken/tests/../chicken.h:2471:37: warning: expression result unused [-Wunused-value] C_CHECKp(x,C_bignump(C_VAL1(x)),0); ^ /home/siiky/projects/chicken/tests/../chicken.h:870:37: note: expanded from macro 'C_CHECKp' # define C_CHECKp(v,a,x) (x) ^ 1 warning generated. rm sample-module.c 'zig-cc' 'sample-module.o' -o 'sample-module.so' '-shared' '-L/home/siiky/projects/chicken/tests/..' '-Wl,-rpath=/home/siiky/projects/chicken/tests/..' '-L/home/siiky/projects/chicken/tests/..' '-Wl,-rpath=/home/siiky/projects/zig-chicken/lib' -lzigchicken -lm -ldl rm sample-module.o (PASS) find-file on #f (PASS) find-file on string (PASS) find-file on list (PASS) (repository-path) is populated by CHICKEN_REPOSITORY_PATH (FAIL) setting (repository-path) and loading a library: expected #t but got #f (PASS) Putting garbage in (repository-path) TOTALS: 6 tests completed in 0.039 seconds 5 (83.33%) tests passed 1 (16.66%) tests failed make: *** [rules.make:1014: check] Error 1