--On April 5, 2011 3:27:48 PM -0700 sim123 Sim3159@gmail.com wrote:
export CPPFLAGS="-I/opt/db-4.8.30/include -I/opt/openssl-1.0.0/include -I/opt/cyrus-sasl-2.1.23/include"
export LDFLAGS="-L/opt/db-4.8.30/lib -L/opt/openssl-1.0.0/lib -L/opt/cyrus-sasl-2.1.23/lib"
You didn't set your -R flags in LDFLAGS, so it can't find the libraries after compilation. You also do not need to set LD_LIBRARY_PATH
--Quanah