LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "sentenv" lines - where to put them?? (https://www.linuxquestions.org/questions/linux-software-2/sentenv-lines-where-to-put-them-69530/)

hunnybunny101 07-02-2003 08:33 AM

"sentenv" lines - where to put them??
 
Me again!

I've just installed xalign to run on a Red Hat Linux 8 workstation but its not working and I need to add the line

"setenv LD_LIBRARY_PATH /usr/X11R6/lib:/usr/local/EMBOSS/lib"

to _something_ to get it to work, according to the software manual.

Any idea where I need to put this - does it go into the cshrc file, or elsewhere?

Apologies if I sound stupid!

Thanks in advance

hunnybunny101.

kkempter 07-02-2003 11:35 AM

setenv is a cshell (csh) command. I assume you are using the standard shell which in Linux id bash. Bash is based on the kshell (ksh) so you need to use a different syntax. once logged in edit your .bashrc file (the . makes it a hidden file, so the gui tools wont see it) and enter the command like this (note no spaces around the = sign)

export LD_LIBRARY_PATH="/usr/X11R6/lib:/usr/local/EMBOSS/lib"


All times are GMT -5. The time now is 05:54 PM.