erlug
[Top] [All Lists]

Re: [Erlug] LD_LIBRARY_PATH reprise

To: erlug <erlug@xxxxxxxxxxxxxx>
Subject: Re: [Erlug] LD_LIBRARY_PATH reprise
From: Federico Calboli <f.calboli@xxxxxxxxxxxxxx>
Date: Tue, 12 Jul 2005 16:30:38 +0100
On Tue, 2005-07-12 at 17:07 +0200, Maurizio Lemmo - Tannoiser wrote:
> * martedì 12 luglio 2005, alle 15:54, Federico Calboli scrive:
> > > Quello che vuoi tu, sono LD_PRELOAD, e LD_AOUT_PRELOAD.
> > 
> > con il flag -static sembra felice... vedremo.
> 
> Bene. Ovviamente, la soluzione minima, passa dal fatto che lanci i tuoi
> programmi con apposito wrapper che imposta quello che ti pare.

???

>  Non lo
> userei come user environment generale.

Boh...Comunque, ho stampato LD.SO(8), che anche su carta rimane
spassosamente sibillino (ma chi scrive le manpages? la mamma gli ha mai
detto che un esempio vale 100 kili di teoria?). 

Dare un colpo a /lib/ld-2.3.2.so sputa 

  --list                list all dependencies and how they are resolved
  --verify              verify that given object really is a dynamically
linked
                        object we can handle
  --library-path PATH   use given PATH instead of content of the
environment
                        variable LD_LIBRARY_PATH
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object
names
                        in LIST

Il tutto e` suggestivo di come forse poter usare l'allegro trabiccolo,
ma si entra nel regno dell'esoterico.

 -static funge (o finge di fungere), ma se uno dovesse usre il linker
con le info delle manpages, mi pare propio che si abbai da dire "so
cazzi".

Thx,

Fede





<Prev in Thread] Current Thread [Next in Thread>