guile-config since 2.0 has the following comment: "This script has been deprecated. Just use pkg-config."
Mabye it makes sense to completely turn to pkg-config? My system has $ ll /usr/lib/pkgconfig/guile-* -rw-r--r-- 1 root root 453 11. Jan 2019 /usr/lib/pkgconfig/guile-1.8.pc -rw-r--r-- 1 root root 849 10. Jan 2019 /usr/lib/pkgconfig/guile-2.0.pc -rw-r--r-- 1 root root 886 10. Jul 2019 /usr/lib/pkgconfig/guile-2.2.pc So this would also work for Guile 1.8 (which should either be preferred as David suggested or completely dropped; not sure if we're already there). https://codereview.appspot.com/569390043/