[Gllug] simple bash problem

mike mike at redtux.demon.co.uk
Fri Jan 25 02:50:35 UTC 2002


On Wed, 2002-01-23 at 22:24, Tom Gilbert wrote:
> * mike (mike at redtux.demon.co.uk) wrote:
> > On Wed, 2002-01-23 at 19:56, Richard Cohen wrote:
> > > On 23 Jan 2002, mike wrote:
> > > > export LD_LIBRARY_PATH=$'/usr/local/gnome/lib:$LD_LIBRARY_PATH'
> > 
> > BTW when I run the script everything is set apart from LD_LIBRARY_PATH
> > which shows LD_LIBRARY_PATH=/usr/local/gnome/lib/: and that is where it
> > ends
> 
> That's because LD_LIBRARY_PATH is set to "" by default, so you are
> adding your path to nothing.
> 
> btw that syntax is really odd, try:
> export LD_LIBRARY_PATH="/usr/local/gnome/lib:$LD_LIBRARY_PATH"

Sorry the original version said that - the exam,ples posted were
snapshots

> However, I should point out that if this is a linux box, that extra path
> should go in /etc/ld.so.conf, and then you should run ldconfig -
> assuming you have access to the root account.

Thats exactly what I dont want to do - this is a script to set temp env
for testing/compiling gnome2

Working now - sort of  (alpha after all -gnome that is)
 
> Tom.
> -- 
>    .^.    .-------------------------------------------------------.
>    /V\    | Tom Gilbert, London, England | http://linuxbrit.co.uk |
>  /(   )\  | Open Source/UNIX consultant  | tom at linuxbrit.co.uk    |
>   ^^-^^   `-------------------------------------------------------'
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
> 


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list