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

Re: Bug#318590: curl situation is intolerable



On Sun, 11 Sep 2005, Domenico Andreoli wrote:
> On Sun, Sep 11, 2005 at 10:54:17AM -0300, Henrique de Moraes Holschuh wrote:
> > On Sat, 10 Sep 2005, Thomas Bushnell BSG wrote:
> > > It is *absolutely intolerable* to declare such conflicts for shared
> > > libraries, where there are easy solutions: MAKE TWO LIBRARIES THAT
> > > HAVE DIFFERENT NAMES.
> > 
> > The package has to build libraries with differently versioned symbols as
> > well, to avoid total app meltdown if both libraries are loaded into the same
> > address space.
> 
> hmm.. i didn't realized this. how does it work?

Version the symbols of one of the libs like this:
  CURLGTLS_ABI
and the other lib like this:
  CURLOSSL_ABI

  where ABI is the ABI version, such as 20, 30...

Of course, you also need the files to be named differently so that the libs
can coexist.

-- 
  "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: