[CLAM] script for setting the (DY)LD_LIBRARY_PATH
Maarten de Boer
mdeboer at iua.upf.es
Tue Feb 24 02:52:50 PST 2004
Hello,
Setting the LD_LIBRARY_PATH (DYLD_LIBRARY_PATH) can be a bit
unpleasant if you have all external libs in your CLAM sandbox.
The following script takes care of it automatically. Execute it
inside the sandbox (Eg. where you unpacked all libraries and
CLAM)
Maarten
#!/bin/bash
LD_LIBRARY_PATH=""
sep=""
for d in */lib; do
LD_LIBRARY_PATH=$LD_LIBRARY_PATH$sep$d
sep=":"
done
DYLD_LIBRARY_PATH=LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH
More information about the clam-users
mailing list