It would not surprise me in the least to find out I did something wrong.   :-}

I know I did "yum install db4-devel" as part of packages I believed
were prerequisites to installing Postfix.
My recall is that I was missing a /usr/include file when test building
a Postfix and I did a "yum provides" that lead me to the decision to
install db4-devel.

I am not convinced there are two copied of Berkeley DB installed.

Does this look like two Berkeley DB copies? ...

[root@mg08 ~]# locate postfix/postscreen
/etc/postfix/postscreen_access.cidr
/usr/libexec/postfix/postscreen
/var/lib/postfix/postscreen_cache.db
/var/www/postfix/postscreen.8.html
[root@mg08 ~]# ldd /usr/libexec/postfix/postscreen
    linux-vdso.so.1 =>  (0x00007fff31fff000)
    libpcre.so.0 => /lib64/libpcre.so.0 (0x00007fcc8fc38000)
    libdb-4.7.so => /lib64/libdb-4.7.so (0x00007fcc8f8c4000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fcc8f6aa000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fcc8f490000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fcc8f0fd000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcc8eedf000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fcc8fe6d000)
[root@mg08 ~]# locate libdb
/lib64/libdb-4.7.so
/lib64/libdbus-1.so.3
/lib64/libdbus-1.so.3.4.0
/usr/lib64/libdb-4.7.so
/usr/lib64/libdb.so
/usr/lib64/libdb_cxx-4.7.so
/usr/lib64/libdb_cxx.so
/usr/lib64/libdbus-glib-1.so.2
/usr/lib64/libdbus-glib-1.so.2.1.0
/usr/share/doc/rsyslog-5.8.10/omlibdbi.html
[root@mg08 ~]# locate include/db
/usr/include/db.h
/usr/include/db4
/usr/include/db_185.h
/usr/include/db_cxx.h
/usr/include/db4/db.h
/usr/include/db4/db_185.h
/usr/include/db4/db_cxx.h
/usr/local/src/postfix-2.10.0/include/db_common.h


This is an install on a VM instance of Red Hat Enterprise Linux Server
release 6.4 (Santiago), Linux mg08 2.6.32-358.6.1.el6.x86_64 #1 SMP
Fri Mar 29 16:51:51 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux.


--
Robert Lopez
Unix Systems Administrator
Central New Mexico Community College (CNM)
525 Buena Vista SE
Albuquerque, New Mexico 87106

Reply via email to