[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: curl 7.14.0-5: OpenSSL vs GnuTLS is still a problem



Olaf van der Spek <olafvdspek@gmail.com> writes:

> On 9/12/05, Thomas Bushnell BSG <tb@becket.net> wrote:
>> Henrique de Moraes Holschuh <hmh@debian.org> writes:
>> 
>> >> It could certainly be resolved: different libraries should install
>> >> different files.
>> >
>> > You also need different SYMBOLS. Which requires symbol versioning, and that
>> > the symbols provided bu curl+gnutls be differently versioned than the
>> > symbols provided by curl+openss.
>> 
>> This would be nice too, but Debian does not have a rule that different
>> libraries must never provide the same symbol names.
>
> But doesn't it make much more sense to ensure no two libraries provide
> the same symbol?

If they have compatible APIs.

So: if they are compatible, then yes, they should cover the same
namespace, and then each should Provide the same package name.

Or, if they are not, they should provide different symbol names.

Or, as a second-best, they could be in different file names, with
colliding symbol name spaces.

Or, as the absolutely worst, they could be the same file name and the
packages could conflict.

Unfortunately, the last "solution" has been chosen.



Reply to: