BerkeleyDB configuration on Solaris

Hi

I m using Berkeleydb 4.2.52 with solaris x86 10.My berkeley db directory is /usr/BERKELEYDB.When i run this cmd /usr/BERKELEYDB/build_unix

../dist/configure then it shows me the error

checking build system type... i386-pc-solaris2.10

checking host system type... i386-pc-solaris2.10

checking if building in the top-level or dist directories... no

checking if --disable-cryptography option specified... no

checking if --disable-hash option specified... no

checking if --disable-queue option specified... no

checking if --disable-replication option specified... no

checking if --disable-verify option specified... no

checking if --enable-compat185 option specified... no

checking if --enable-cxx option specified... no

checking if --enable-debug option specified... no

checking if --enable-debug_rop option specified... no

checking if --enable-debug_wop option specified... no

checking if --enable-diagnostic option specified... no

checking if --enable-dump185 option specified... no

checking if --enable-java option specified... no

checking if --enable-mingw option specified... no

checking if --enable-posixmutexes option specified... no

checking if --enable-rpc option specified... no

checking if --enable-smallbuild option specified... no

checking if --enable-tcl option specified... no

checking if --enable-test option specified... no

checking if --enable-uimutexes option specified... no

checking if --enable-umrw option specified... no

checking if --with-mutex=MUTEX option specified... no

checking if --with-mutexalign=ALIGNMENT option specified... no

checking if --with-rpm=ARCHIVE option specified... no

checking if --with-tcl=DIR option specified... no

checking if --with-uniquename=NAME option specified... no

checking for ar... missing_ar

configure: error: No ar utility found.

i have been set all path

JAVA_HOME=/usr/j2se

IMQ_JAR_PATH=/usr/share/lib

JMS_JAR_PATH=/usr/share/lib

BDB_JAR_PATH=/usr/share/db.jar

BDB_SO_PATH=/usr/lib

AM_HOME=/opt/SUNWam

I m try to do Sun access manager session failover.I have installed Sun access manager and message queue both are running fine.

Sun access manager version-2005Q1

sun message queue-3.6

BerkeleyDb-4.2.52

if i run thsi command /opt/SUNWam/bin

./amsessiondb -u admin -w admin -b /usr/sessiondb -a abc:7676

then it show the error

Initailizing and connecting to the Message Queue server ...

Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)

at java.lang.Runtime.loadLibrary0(Runtime.java:788)

at java.lang.System.loadLibrary(System.java:834)

at com.sleepycat.db.db_javaJNI.<clinit>(db_javaJNI.java:23)

at com.sleepycat.db.DbEnv.<init>(DbEnv.java:1092)

at com.iplanet.dpro.session.jmqdb.client.AMSessionDB.initDB(AMSessionDB.java:207)

at com.iplanet.dpro.session.jmqdb.client.AMSessionDB.initialize(AMSessionDB.java:2 52)

at com.iplanet.dpro.session.jmqdb.client.AMSessionDB.main(AMSessionDB.java:500)

pls help.it is urgent.

Thanks

Rahul saini

[3389 byte] By [rahulsaini] at [2007-11-26 8:09:25]
# 1
before starting amsessiondb, set your library path asexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/libThis assumes that your shell is BASH.If you got / get this working, please take a look at http://forum.sun.com/jive/thread.jspa?threadID=106077. Thanks!
ankushkapoor at 2007-7-6 20:58:21 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...