Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery] wget .so dependencies (possibly global problem)

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SourceMage Sorcery List <sm-sorcery AT lists.ibiblio.org>
  • Subject: Re: [SM-Sorcery] wget .so dependencies (possibly global problem)
  • Date: Thu, 5 Feb 2004 10:49:59 -0800

Quoting Casey Harkins <charkins AT upl.cs.wisc.edu>:
> Another possiblity, would be for sorcery to keep statically-linked
> versions of bash and wget (maybe busybox too for tar, bzip, gzip,
> etc) around for certain situations. The logic in sorcery for when to use
> the statically-linked versions might be a bit tricky though...

A simple(?) solution would be for Sorcery to keep the old libraries around in
a
none listed spot (so not /lib, but perhaps /tmp/lib) after compiling a new
version of a library (say gettext), then run `cast --fix `gaze depends gettext
| cut -d: -f1``, and after that is done, remove the old libraries. If the
--fix
fails to work, downgrade the library, but run the --fix again just in case
some
of them succeeded in linking against the new one.

This could probably be refined quite a bit, but I figured I'd get teh general
idea out. This way --fix is not run on the entire grimoire, but just what may
have been affected (ASSuMEing that we have all of our dependencies correct).

-sandalle

--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Archive powered by MHonArc 2.6.24.

Top of Page