Loading ...
Sorry, an error occurred while loading the content.

292518Re: postfix and Berkeley DB

Expand Messages
  • Reindl Harald
    Apr 11, 2013
    • 0 Attachment
      Am 12.04.2013 02:00, schrieb LuKreme:
      > Reindl Harald opined on Thursday 11-Apr-2013@17:03:50
      >>
      >>
      >> Am 12.04.2013 00:35, schrieb LuKreme:
      >>> # ldd /usr/local/libexec/postfix/smtpd
      >>> /usr/local/libexec/postfix/smtpd:
      >>> libmysqlclient.so.16 => /usr/local/lib/mysql/libmysqlclient.so.16 (0x280cf000)
      >>> libz.so.3 => /lib/libz.so.3 (0x28139000)
      >>> libm.so.4 => /lib/libm.so.4 (0x2814a000)
      >>> libssl.so.7 => /usr/local/lib/libssl.so.7 (0x28160000)
      >>> libcrypto.so.7 => /usr/local/lib/libcrypto.so.7 (0x281ad000)
      >>> libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x2830a000)
      >>> libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28321000)
      >>> libc.so.6 => /lib/libc.so.6 (0x28354000)
      >>> libcrypt.so.3 => /lib/libcrypt.so.3 (0x2843b000)
      >>> # file /etc/postfix/virtual.db
      >>> /etc/postfix/virtual.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
      >>> So, postfix appears to be using Berkeley DB but is not linked against it?
      >>
      >> unlikely generated with the build from the ldd-output
      >
      > I don’t understand what you mean. That is the output of my mailserver running postfix 2.8

      i can not imagine that this file is created by the postfix
      of which you posted the ld-output because it is not linked
      against it

      >> libdb-5.3.so => /lib64/libdb-5.3.so (0x00007f28243c5000)
      >>
      >> rpm -q --file /lib64/libdb-5.3.so
      >> libdb-5.3.21-3.fc18.x86_64
      >
      > Well, I do have libdb.so:
      >
      > # locate libdb.so
      > /usr/local/lib/db42/libdb.so
      > /usr/local/lib/db44/libdb.so
      > /usr/local/lib/db48/libdb.so

      which doe snot matter because it depends how postfix was compiled

      >> libdb-5.3.so => /lib64/libdb-5.3.so (0x00007f28243c5000)
      >
      > And I was expecting a line like that, only "libdb.so => /usr/local/lib/db48/libdv.so", only it is not there.
      > Postfix seems to be using it anyway

      postconf -m
      btree (berkeley)
      cidr
      environ
      fail
      hash (berkeley)
      internal
      memcache
      mysql

      nis

      pcre
      proxy
      regexp
      socketmap
      static
      tcp
      texthash
      unix

      http://www.postfix.org/DB_README.html

      > though I am not sure which version of libdb corresponds to Berkeley DB 1.85. I’m pretty sure it is not 4.8

      the 1.85 is not the libdb version, the file command is generic
    • Show all 9 messages in this topic