Hi all,
I'd like to make clear few topics on Sablotron installation (on Unix
systems)
rule 1) 'make install' should be enough, but don't forget, usually you
have to be logged as root!!
'make install' copies expat and sablotron libs into foldres reserved for
appliactions (offten /usr/local/lib and /usr/local/bin and
/user/local/include
This works since version 0.42 (or little bit longer). The next release
will use the automake utility and will support 'clean' 'uninstall' and
another usefull targets.
rule 2) you shouldn't copy files manually, except you exactly know, what
are you doing.
rule 3) please, do not copy sablotron files in /usr/lib, only your Linux
distribution should place files here.
possible problems: when shared files are not found at run-time, any of
the following should help:
a) set LD_LIBRARY_PATH to point to /usr/local/lib. You can do it in your
startup files (profile, .bash_profile, .bashrc) depending on current
situation
b) you may run programs requiring sablot libraries (f.e. sabcmd or
apache) using a shell script, which defines and *exports* LD_LIBRARY_PATH.
c) add /usr/local/lib to the /etc/ld.so.conf file. Then you can run
ldconfig (as root). Running this utility is necessary only after
installation, 'cos it is usually run during the boot time.
HTH
Pavel
Schuetz, David wrote:
>
> > Don't forget to define your LD_LIBRARY_PATH to point to the libraries.
> >
> > ie: LD_LIBRARY_PATH=/usr/local/lib
>
> Or just put all the libs into /usr/lib, that's what I did.
>
>
> david.
>
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic