Hi, I think, This is best solution.
Build-Depends: libcurl4-gnutls-dev (It can be a any real package.) liboauth-dev's Depends: liboauth0 (= ${binary:Version}), ${misc:Depends}, libcurl4-gnutls-dev | libcurl4-dev, libnss3-dev liboauth0's Depends: ${misc:Depends}, ${shlibs:Depends}, libcurl3 | libcurl3-gnutls | libcurl3-nss As we know, This isn't enough due to ${shlibs:Depends} is include libcurl3-gnutls then remove another libcurl 'or' conditions. Please apply the patch: --- liboauth-0.9.4.orig/src/Makefile.am +++ liboauth-0.9.4/src/Makefile.am @@ -4,5 +4,5 @@ include_HEADERS = oauth.h liboauth_la_SOURCES=oauth.c config.h hash.c xmalloc.c xmalloc.h oauth_http.c liboauth_la_LDFLAGS=@LIBOAUTH_LDFLAGS@ -version-info @VERSION_INFO@ -liboauth_la_LIBADD=@HASH_LIBS@ @CURL_LIBS@ +liboauth_la_LIBADD=@HASH_LIBS@ liboauth_la_CFLAGS=@LIBOAUTH_CFLAGS@ @HASH_CFLAGS@ @CURL_CFLAGS@ Actually, we do not need to link shared library to shared library. We'll get liboauth0 package that Depends: libcurl3 | libcurl3-gnutls | libcurl3-nss Thank you. At Thu, 2 Aug 2012 08:12:21 +0200, gregor herrmann <gre...@debian.org> wrote: > > On Thu, 02 Aug 2012 12:03:34 +0900, HAMANO Tsukasa wrote: > > > > 2) I'm not sure if bilding against on one and then depending on a > > > different version works? > > No problem, liboauth is not use directly SSL interface. We can switch > > them when linking application with liboauth. > > Ok. > > > > For liboauth-dev, my patch specifies > > > "Depends: ..., libcurl4-gnutls-dev | libcurl4-dev, libnss3-dev, ..." > > > which should be enough to solve the issue you were raising here, > > > right? > > Yes, liboauth-dev's issue was solved. liboauth0 dependency is a little > > strange, but I'm ok to closing the bug. > > Thanks very much! > > Well, it's not solved yet, since the fixed package only existed in > some temporary directory on my laptop :) > > > Cheers, > gregor > > -- > .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 > : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ > `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe > `- "Rome wasn't burned in a day. " > -- HAMANO Tsukasa <ham...@cuspy.org>
pgpma8JvsEqDX.pgp
Description: OpenPGP Digital Signature