[Gllug] simple bash problem
Tom Gilbert
tom at linuxbrit.co.uk
Wed Jan 23 22:24:04 UTC 2002
* 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"
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.
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
More information about the GLLUG
mailing list