Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]Strange line in cast

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Jon Svendsen <jon-sven AT frisurf.no>
  • To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • Cc: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]Strange line in cast
  • Date: 04 Nov 2002 19:56:19 +0100

On Mon, 2002-11-04 at 19:41, Dufflebunk wrote:
> I'm looking at the cast --fix code, and there is a line which is
> probably slowing the whole thing down, line 643 of cast:
> export_ld $( find /usr/lib -type d ! -empty )
> I'm not exactly sure what the purpose of this is. If anyone has any
> ideas, let me know.

It checks if any non-empty subdirectories of /usr/lib contains shared
libraries, and if so, adds them to $LD_LIBRARY_PATH

It is indeed very slow, but has been shown in the past to be important
for the reliability of --fix

Jon





Archive powered by MHonArc 2.6.24.

Top of Page