On Wednesday 17 September 2003 05:18, Anders Drejer wrote: > Due to a total breakdown (and no recent backup) I have to reinstall > Pagestream Linux. The read.me file tell me to: > > "copy the contents to any location. To your shell startup script put > something like: > > export > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/pagestream/SoftLogik/lib > export PATH=$PATH:/path/to/pagestream > > You may also need to edit the text file /etc/ld.so.conf and add the line > to the /path/to/pagestream/SoftLogik/lib then run from a shell > > ldconfig -v > > to rebuild the cache of where lib files can be found." > > What (and where) is my shell startup script?
A shell startup script is a shell script that is executed every time a new shell is opened. They are usually a dot file (that is, the name begins with a dot) named for the shell (usually bash) and suffixed with rc. Thus, .bashrc in most cases, but also .cshrc and so on.
I found it more convenient to put the commands, plus another to run PgS, into a shell script and execute that to make PgS run. In such a case it is generally necessary to specify the shell which will interpret the script. This is done on the first line of the script with a hash-bang line:
#!/bin/bash
lets the system know to use the program found at /bin/bash to interpret the contents of the file. The script file I use has been posted to this list already.
This way I can click on the icon for the shell script in the gui file manager and start PgS without altering the operating environment. This would allow, for example, keeping more than one version of PgS installed (which is useful when evaluating a new version).
Tim Doty
|