Improving program startup with fastbind [HP-UX Linker] White paper

7
Figure 4: Sample run of prebind
The prebind step can be incorporated in the install scripts of software products by vendors, with their
knowledge of executable paths and shared library search paths needed.
#prebind called without any executables
# prebind
#prebind with executables mentioned in the command line
# prebind /opt/mozilla/mozilla-bin
prebind: fastbind error:
fastbind: Unable to find library 'libmozjs.sl'.
# LD_LIBRARY_PATH=/opt/mozilla prebind /opt/mozilla/mozilla-bin
# cat prebind.conf
/usr/ccs/bin/rehash
/usr/local/bin/vim
#prebind command used to preview the undo mode with executable path
supplied in a file
# ./prebind -u -p -f prebind.conf
(swlist command) /usr/sbin/swlist -l file | /usr/bin/egrep -w
'\/usr\/ccs\/bin\/rehash|\/usr\/local\/bin\/vim'
prebind: running swlist (this may take a few minutes) ...
(swlist output) /usr/ccs/bin/rehash : rehash.rehash
(swlist output) /usr/local/bin/vim : vim.vim-RUN
/usr/ccs/bin/fastbind -n /usr/ccs/bin/rehash
/usr/sbin/swmodify -x files=/usr/ccs/bin/rehash rehash.rehash
/usr/ccs/bin/fastbind -n /usr/local/bin/vim
/usr/sbin/swmodify -x files=/usr/local/bin/vim vim.vim-RUN