IRC channel logs
2023-12-19.log
back to list of logs
<apteryx>which search path does load-extension uses? <apteryx>OK, it's covered in info '(guile) Foreign Libraries' <apteryx>strange that even when its in LIBRARY_PATH the .so doesn't seem to be found. <apteryx>why would testing a guile script as root with: sudo -E guile --no-auto-compile x-resize.scm error with: Pre-boot error; key: misc-error, args: ("load-thunk-from-memory" "incompatible bytecode version" () #f)Abandon <apteryx>the error suggests it's using a different guile version? <apteryx>I thought -E would preserve PATH thus the guile I'm using as my user <apteryx>OK, it was caused by attempting to use a guile built from source, with a guix-built guile-udev binary extension <apteryx>is SEARCH-LTDL-LIBRARY-PATH? supposed to be an environment variable, or what? <apteryx>ah, it's a keyword argument of the load-foreign-library procedure, which defaults to #t