diff -u honeyd-1.5c/configure.in honeyd-1.5c/configure.in --- honeyd-1.5c/configure.in +++ honeyd-1.5c/configure.in @@ -680,6 +680,9 @@ HAVEMETHOD=no +dnl Better look at libdl if trying to use dlsym()... +LIBS="$LIBDL" + AC_MSG_CHECKING(if we can access libc without dlopen) AC_TRY_RUN( #include @@ -702,9 +705,6 @@ if test "$HAVEMETHOD" = "no"; then - dnl Make sure we use libld if necessary -- CPK - LIBS="$LIBDL $LIBS" - dnl ugly, ugly hack LIBCGUESS=`echo /lib/libc.so.*` USRLIBCGUESS=`echo /usr/lib/libc.so*` diff -u honeyd-1.5c/debian/changelog honeyd-1.5c/debian/changelog --- honeyd-1.5c/debian/changelog +++ honeyd-1.5c/debian/changelog @@ -1,3 +1,12 @@ +honeyd (1.5c-8ubuntu1) oneiric; urgency=low + + * configure.in: Fix wrong attempt to use dlsym() without linking against + -ldl, which resulted in a build-time failure to detect support for + RTLD_NEXT and ultimately leads to a build failure with multiarch due to + wrong probing of libc.so. Closes: #632484, LP: #749247. + + -- Steve Langasek Tue, 13 Sep 2011 22:30:49 +0000 + honeyd (1.5c-8) unstable; urgency=low [ Package cleanup and lintian fixes ]