2.6 Connect
Now that you have Aubit4GL built on your system, whether form source or binary, you need to tell the operating system where to find everything. This amounts to
set AUBITDIR to the directory where installed Aubit4GL e.g.:
export AUBITDIR=/local/opt/aubit4glbin
set PATH to include the $AUBITDIR/bin e.g.:
export PATH=$PATH:$AUBITDIR/bin
Tell the linker ld where to find the Aubit4GL library files. This is done in one of two ways:
Either create a file: aubit.conf in /etc/ld.so.conf
Sample contents:
/local/opt/aubit4glbin/lib
/local/opt/aubit4glbin/plugins-1.2_14
/local/opt/PDFlib-Lite-7.03/libs/pdflib/.lib
and run the command (as root):
ldconfig -v
or add the above directories to LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AUBITDIR/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AUBITDIR/plugins-1.2_14
mypdflib=/local/opt/PDFlib-Lite-7.03/libs/pdflib/.lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$mypdflib/lib
Of course, replace my example above with values appropriate to your installation.