On Fri, Oct 30, 2009 at 15:33 +0000, Bhayani, Shyam wrote: > Hi > > I am using ISIS for the first time and am make use of XSPEC > models. I used the command: > > import ("xspec"); It's best to load the xspec module using require ("xspec"); 'require' does the 'import' and then performs some additional initialization and defines a number of useful slang functions. If 'require' is not used, the xspec module will not be completely initialized and probably will not work properly. > > and received the error message: > > S-Lang Error: Intrinsic Error: Error linking to /soft9/CIAO/3.4/contrib/lib/slang/modules/xspec-module.so: libtermcap.so.2: cannot open shared object file: No such file or directory > > Do you know how to fix this? The best solution is to install libtermcap on your system. I'm not sure why you're seeing this error. Presumably libtermcap was present when isis was compiled, otherwise the compilation ought to have failed. Are you running isis on a different machine that the one used to compile it? Or is libtermcap installed in a non-standard location? If that's the problem, then you might work around this by setting the LD_LIBRARY_PATH environment variable appropriately, e.g assuming DIR/libtermcap.so.2 exists, you could do: setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:DIR" Installing libtermcap in a standard location is a better solution, though. Thanks, -John ---- You received this message because you are subscribed to the isis-users list. To unsubscribe, send a message to isis-users-request_at_email.domain.hiddenwith the first line of the message as: unsubscribeReceived on Fri Oct 30 2009 - 12:23:00 EDT
This archive was generated by hypermail 2.2.0 : Fri Oct 30 2009 - 14:13:19 EDT