--- configure.orig 2007-12-26 11:53:20.000000000 +0100 +++ configure 2007-12-26 11:56:25.000000000 +0100 @@ -19694,7 +19694,7 @@ save_CC="$CC" save_LIBS="$LIBS" -PYTHON_EMBED_LIBS="-L${PYTHON_LIBDIR} ${PYTHON_LIB_DEPS} -lpython${PYTHON_VERSION}" +PYTHON_EMBED_LIBS="-L${py_prefix}/lib/ ${PYTHON_LIB_DEPS} -lpython${PYTHON_VERSION} ${PTHREAD_LIBS}" CC="$PYTHON_CC" LIBS="$LIBS $PYTHON_EMBED_LIBS"