Index » PageStream Support » Linux » Problems getting started
Sign in to add a comment. Pages: 1
2003-09-17 12:18:19 CT #1
Anders Drejer
From: Denmark
Registered: 2006-02-16
Posts: 86

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?

--
Mvh

Anders


2003-09-17 11:33:01 CT #2
Ivan Dunn
From: Unknown
Registered: 2003-03-20
Posts: 33

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?
>
normally it's in your home directory.

and called .bashrc (if you're using bash as your shell).

thanks,
<Ivan.


--
Ivan Dunn
Project Officer - Web Development and Support

Faculty of Mathematics & Computing,
The Open University,
Walton Hall,
Milton Keynes.
MK7 6AA.


2003-09-17 06:59:35 CT #3
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

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

Sign in to add a comment. Pages: 1
Index » PageStream Support » Linux » Problems getting started

This topic is closed due to inactivity.