here's what my /usr/lib64/pkgconfig/guile-2.0.pc says: Libs.private: /usr/lib64/libgmp.so /usr/lib64/libltdl.so /usr/lib64/libdl.so -L/usr/lib64/../lib64 -lffi \ /usr/lib64/libunistring.so -Wl,-O1 -Wl,--hash-style=gnu -lcrypt -lm problems: (1) it shouldn't be hardcoding full paths. e.g. "/usr/lib64/libgmp.so" should be "-lgmp". (2) it shouldn't be including LDFLAGS. e.g. drop the -Wl stuff that is from my own settings.
The hardcoded libs look fixed, but I still see LDFLAGS in 2.0.14 :/
(In reply to Pacho Ramos from comment #1) > The hardcoded libs look fixed, but I still see LDFLAGS in 2.0.14 :/ Same in guile-2.2 and guile-3.0. The pc file includes $GUILE_LIBS, which is set at configure time: meta/Makefile:GUILE_LIBS = -Wl,-O1 -Wl,--as-needed -lcrypt -lm I'll check with upstream
This should be fixed in 2.2.7: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71660fab93bfb5fcdccaa6a01e934d0c52bdf23.