it is set, as far as I see. You need to check it by:
echo $LD_LIBRARY_PATH
Quote:
db2inst1@db2v105:/root/Desktop> $LD_LIBRARY_PATH
bash: /opt/ibm/cognos/c10_64/bin64:/opt/ibm/cognos/c10_64/cgi-bin: No such file
|
in this example LD_LIBRARY_PATH is set to /opt/ibm/cognos/c10_64/bin64:/opt/ibm/cognos/c10_64/cgi-bin and you tried to execute it (I mean you tried to execute this string as it was a command) and failed. It is the expected behaviour.