Help with running Linux software LD_LIBRARY_PATH

Philip M. Gollucci pgollucci at p6m7g8.com
Thu Apr 19 17:31:13 UTC 2007


> ###############################
> #!/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 at 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.


More information about the freebsd-questions mailing list