Do one of the following:
Set LD_LIBRARY_PATH=/opt/sun/private/lib.
Add to the following line to the install_dir/bin/asant script:
LD_LIBRARY_PATH=$AS_NSS:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH