Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a problem with setting up 2 programs ROOT and GEANT4 through .tcshrc file. In order to better understand what I mean, I have attached the contents of my .tcshrc below. So, when I open a new Terminal, ROOT would not work, but the Geant4 works. Although everything is set up correctly, I have checked the commands for ROOT later, and in that case it works perfectly fine. When I switch ROOT and Geant4, and put Geant4 commands first, and later ROOT commands then ROOT would work, but the GEANT4 libraries won't. Please let me know what is wrong with my .tcshrc file.
Hi, thank you very much for your reply, and I am sorry for being unclear. So, there are no error messages. Clearly, when I set in .tcshrc first 3 command lines related to ROOT as it is below they do not get executed, and as result ROOT does not work, whereas 3 last lines related to GEANT4 get executed, the program GEANT works.
when I switch them like that below Geant4 doesn't work, but ROOT works successfully. In other words, it seems that the file ignores now the first 3 lines related to GEANT4, but rather executes the last 3 lines related to ROOT. My goal is to have them both working!
I think what colucix was suggesting is that you are resetting environment variable LD_LIBRARY_PATH in the second set of commands. That effectively removes the first setting. We also don't know what you have in file "...env.csh", which may affect the variable.
Perhaps to see this more clearly, after you login, display the value: