I'm trying to install netatalk which requires BerkeleyDB.4.2 I've
downloaded the tarball for db4 and built it according to instructions (I
think). The output of #make install is below. It looks OK to me. When I
configure netatalk, it tells me db4 isn't there (see below). What did I do
wrong?
Any advice gratefully received.
David.
FROM DB INSTALL:
_______________________________________________________________
#make install
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
Installing DB utilities: /usr/local/BerkeleyDB.4.2/bin ...
cp -p .libs/db_archive /usr/local/BerkeleyDB.4.2/bin/db_archive
cp -p .libs/db_checkpoint /usr/local/BerkeleyDB.4.2/bin/db_checkpoint
cp -p .libs/db_deadlock /usr/local/BerkeleyDB.4.2/bin/db_deadlock
cp -p .libs/db_dump /usr/local/BerkeleyDB.4.2/bin/db_dump
cp -p .libs/db_load /usr/local/BerkeleyDB.4.2/bin/db_load
cp -p .libs/db_printlog /usr/local/BerkeleyDB.4.2/bin/db_printlog
cp -p .libs/db_recover /usr/local/BerkeleyDB.4.2/bin/db_recover
cp -p .libs/db_stat /usr/local/BerkeleyDB.4.2/bin/db_stat
cp -p .libs/db_upgrade /usr/local/BerkeleyDB.4.2/bin/db_upgrade
cp -p .libs/db_verify /usr/local/BerkeleyDB.4.2/bin/db_verify
Installing documentation: /usr/local/BerkeleyDB.4.2/docs ...
_______________________________________________________________
hpserver:/usr/local/BerkeleyDB.4.2/lib# ls
libdb-4.2.a libdb-4.2.la libdb-4.2.so libdb-4.so libdb.a libdb.so
hpserver:/usr/local/BerkeleyDB.4.2/lib# ls ../include/
db.h db_cxx.h
_______________________________________________________________
CONFIGURE NETATALK:
_______________________________________________________________
#./configure --with-bdb=/usr/local/BerkeleyDB.4.2/include
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/include/db4.2... no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/include/db42... no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/include/db41... no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/include/db4... no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/include/... no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/db4.2...no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/db42...no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/db4.1...no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/db41...no
checking for Berkeley DB headers in
/usr/local/BerkeleyDB.4.2/include/db4... no
checking for Berkeley DB headers in /usr/local/BerkeleyDB.4.2/include/...
yes
checking /usr/local/BerkeleyDB.4.2/include//db.h version >= 4.1.0...
4.2.52,
yes
checking for Berkeley DB link (-ldb-4.2)... yes
checking Berkeley DB library version >= 4.1.0... no
Make sure you have the required Berkeley DB libraries AND headers
installed.
You can download the latest version from http://www.sleepycat.com.
If you have installed BDB in a non standard location use the
--with-bdb=/path/to/bdb configure option and make sure
your linker is configured to check for libraries there.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html