Package: libcurl3
Version: 7.15.5-1
Severity: normal

This is a recursive dependency disease issue.

libcomerr2 is not actually used by curl.  It is only used indirectly by
a dependency of libcurl.

Libcurl should not be directly linked to it.  It should also not be exported as
a dependency to the packages using libcurl.  (Libcurl exports a lot of other 
improper
dependencies via pkg-config, but fixing that requires doing something 
different, and
I'm not exactly sure of the right thing to do yet.)

The following (untested) patch to configure.ac should fix both problems.  You 
have to
rerun autoconf, of course.

The only danger to watch out for is the possibility that the static build will 
fail --
if the -dev package builds, then the patch is correct.  I have been delayed in 
my
attempts to test the build for irritating reasons, so I give you the patch now.

--- configure.ac        2006-10-10 21:51:59.000000000 -0400
+++ configure.ac.new    2006-10-10 21:54:57.000000000 -0400
@@ -673,7 +673,7 @@
       AC_CHECK_HEADERS(krb.h)
 
       dnl we found the required libraries, add to LIBS
-      LIBS="-lkrb -lcom_err -ldes $LIBS"
+      LIBS="-lkrb -ldes $LIBS"
 
       dnl Check for function krb_get_our_ip_for_realm
       dnl this is needed for NAT networks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to