error while loading shared libraries: libdb-4.7.so

552 views
Skip to first unread message

Oleg Butuzov

unread,
Oct 3, 2008, 10:26:44 AM10/3/08
to memcachedb
Seams i have a trouble with running daemon under Ubuntu

i am always got error message
error while loading shared libraries: libdb-4.7.so

I am tring to instal 1.1.0 betta version libevent and Berkeley DB
4.7.25 installed. but i am always got this message? can eny one say
whats can be wrong?

Berkeley DB located at
/usr/local/BerkeleyDB.4.7/

and library exists...

after i tried to run it
memcachedb -p21201 -d -r -u root -H ./env -N -v
i got this
root@imade:~/downloads/memcachedb-1.1.0# memcachedb -p21201 -d -r -u
root -H ./env -N -v
memcachedb: error while loading shared libraries: libdb-4.7.so:
cannot open shared object file: No such file or directory


/usr/local/BerkeleyDB.4.7/lib
the problem is - this directory exists...

/etc/ld.so.conf/libc.conf also contain
contain a string of location
/usr/local/BerkeleyDB.4.7/lib

Steve Chu

unread,
Oct 5, 2008, 10:07:18 AM10/5/08
to memca...@googlegroups.com
Hi,

Please check this: http://memcachedb.org/INSTALL

I guess you haven't loaded the dynamic library of bdb.

--
Steve Chu
http://stvchu.org

Reply all
Reply to author
Forward
0 new messages