Andreas Enge <[email protected]> skribis: > checking whether libgcrypt can be dynamically loaded... no > configure: error: GNU libgcrypt does not appear to be usable; see `--with- > libgcrypt-prefix' and `README'.
Just pass --with-libgcrypt-prefix=$HOME/.guix-profile/lib. The code corresponding to the check above is simple-minded (it’s in m4/guix.m4). All it does is: guile -c "(dynamic-func \"gcry_md_hash_buffer\" (dynamic-link \"$LIBGCRYPT\"))" and checks its return code. Passing --with-libgcrypt-prefix allows it to work with non-standard prefixes. Perhaps README should be augmented? Ludo’.
