> ld: cannot find -lpthread I think it is the guile-config program that is adding -lpthread -- try: guile-config link to see if it's the culprit -- if it is, it's a guile problem. You might be able to fix it by hand -- find libpthreads.so and add its directory to the LIBS variable (via -L).