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

292517Re: postfix and Berkeley DB

Expand Messages
  • LuKreme
    Apr 11, 2013
    • 0 Attachment
      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

      > 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

      > 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, though I am not sure which version of libdb corresponds to Berkeley DB 1.85. I’m pretty sure it is not 4.8.


      --
      "@Drhorrible is not following you" Whew! that's a relief, I was sure
      some super villain was following me. Hope it's not Dick Cheney.
    • Show all 9 messages in this topic