[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

On Thu, 25 Aug 2005, Paul TBBle Hampson wrote:
> The issue in the above is that the suggestion of two different versions of
> libcurl being a problem for prog A is only a problem if the sonames/sovers are
> not differentiated, and I suggest they _be_ differentiated. I mean, they

That is not enough. You also need versioned symbols in all conflicting
libraries, i.e. there must be no symbol clash between openssl and gnutls,
nor between curl3 linked to openssl and curl3 linked to gnutls.

This is important for libs linking against curl3, otherwise they can break
any application that links to them and uses curl3 itself.  If no libs ever
link against curl libs, this is not an issue.

sonames are for pre-link-time dependency handling (i.e. to select what to
try linking to).  During the linkage, versioned symbols (plus some other
black magic like weak aliases,etc) are used, and the soname is not even
brought into play.

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply to: