Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] OpenSSL 0.9.8 upgrade suggestion

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: "Sergey A. Lipnevich" <sergey AT optimaltec.com>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] OpenSSL 0.9.8 upgrade suggestion
  • Date: Sun, 11 Sep 2005 18:25:24 -0700

On Sun, Sep 11, 2005 at 08:41:39PM -0400, Sergey A. Lipnevich wrote:
> Quoting Andrew <afrayedknot AT thefrayedknot.armory.com>:
>
> > Is there a way to ensure that spells always link against the newer
> > library and not the older one? I think if thats possible then having
>
> Yes there is. The new spells are supposed to use links, not the real SO
> name:
> /usr/lib/libssl.so -> libssl.so.0
> /usr/lib/libssl.so.0 -> libssl.so.0.9.7 (or .8 for the new version)

When gcc sees "-lssl" it looks for libssl.so then crawls the symlink
tree above.

As long as we have the .0 -> 0.9.8 symlink in place, gcc will link
against the new one, which openssl 0.9.8 spell should do already. The
libssl.so.0.9.7 then simply exists for things not relinked yet.

I think if we simply add a echo '^/usr/lib/libssl.so.0.9.7$' > protected
in the libssl-so-0-9-7 spell and have BUILD be "true" and INSTALL be
"touch /usr/lib/libssl.so.0.9.7" with the new openssl depending on this,
it would work out. (although I see this as very dirty :) )

Seth

--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Quality Assurance Team Leader & Security Team: Source Mage GNU/linux
Linux so advanced, it may as well be magic http://www.sourcemage.org
Secretary Pacific Green Party of Oregon http://www.pacificgreens.org
Key id FDCEE733 = 5302 B414 64C4 6112 3454 E082 99F0 69DC FDCE E733

Attachment: pgpJ6N6xw5jpE.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page