curl-users
Re: [cavok: Re: Bug#77220: php4-curl can't be installed with curl-ssl]
Date: Mon, 27 Nov 2000 14:24:37 +0100
On Mon, Nov 27, 2000 at 12:20:42PM +0100, Daniel Stenberg wrote:
> On Sat, 25 Nov 2000, Domenico Andreoli wrote:
>
> > > This is not as easy as it shounds. The php4-curl package is compiled with
> > > libcurl0 installed. If it whould be binary compatible with libcurl0-ssl then
> > > this package should probably Provide: libcurl0 . And I refuse to hardwire
> > > dependency on a library, it's only calling for problems on other archs and
> > > with autobuilders.
> > >
>
> > i'm just thinking at these problems.
>
> > if libcurl0 and libcurl0-ssl were binary compatible i would do a virtual
> > package and curl depending on this virtual one. same work for php4-curl.
>
> What is libcurl0 and libcurl0-ssl?
>
libcurl0 and libcurl0-ssl are the debian packages of libcurl, the first is plain
and the latter is ssl-enabled.
> > the matter is that i'm not sure they are binary compatible.
>
> If these are libraries built with and without SSL, I can confirm that they
> are "binary compatible". That is, if they're shared libraries, the same curl
> binary can use either one of them.
>
i suspected that but i still hadn't time to do the check myself
> > the upstream maintainer (whom i'm CCing to) said that curl knows nothing
> > about ssl, everything is delegated to libcurl.
>
> Exactly. Therefore, the curl tool has no idea if SSL is supported or not.
> Only the libcurl in question does.
>
what about kerberos? is it handled by libcurl or curl needs to cooperate
someway? i saw curl supports kerberso4, any intention to support kerberos5 too?
> > something would break if if exchanged libcurl and libcurl-ssl under the
> > same curl but i still don't figure out what.
>
> Not if they're identically named and you have the ssl libs present when you
> use the SSL version.
>
hmm then why "ldd curl-with-ssl-enabled" says it needs libssl and libcrypto?
> You could try this and see for yourself!
>
i know i could, but i never did. sorry
> > now i have to solve the puzzle but i don't even know where to start from.
> > suggestions?
>
> I don't understand what the puzzle is all about.
>
it "easy" for you but i have lots of black holes in this field so i don't give
anything for good. :) i still have to undestand last message you sent me about
this topic...
i have another question: when you do --version to an ssl-enabled curl, it says
that it is using libcurl 7.4.2 or something like. my point is, the soname of
libcurl is libcurl.so.0.0.0, i'd like a lot if it could be libcurl.so.7.4.2,
since the responce of curl would match the soname version. how do you see that?
thanks for your support
-----[ Domenico Andreoli, aka cavok
--[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
--[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Received on 2000-11-27