Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 10:30:58 -0700
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Henry Lenzi <henry.lenzi@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Help with running Linux software LD_LIBRARY_PATH
Message-ID:  <4627A752.7030307@p6m7g8.com>
In-Reply-To: <8b4c81f0704190915i3037133cne52c1986ee851049@mail.gmail.com>
References:  <8b4c81f0704190915i3037133cne52c1986ee851049@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> ###############################
> #!/bin/tcsh
> 
> setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/opt/lingo9/bin/linux32
> 
> setenv LINGO_LICENSE_FILE "/opt/ling9/license/lndlng90.lic"
> ###############################
> 
> When I try to execute it, I get the error below (BTW, set to 755).

> LD_LIBRARY_PATH: Undefined variable.
It means exactly what it says.  By default LD_LIBRARY_PATH is not set in 
your env.  If you try to use a not set yet 'undefined' variable on the 
right hand side of a setenv it gives this.

setenv LD_LIBRARY_PATH /opt/lingo9/bin/linux32

Or you could get fancy with [ -z $LD_LIBRARY_PATH ]


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4627A752.7030307>