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

292529Re: postfix and Berkeley DB

Expand Messages
  • Wietse Venema
    Apr 12, 2013
      LuKreme:
      [ Charset windows-1252 unsupported, converting... ]
      > In our previous episode (Thursday, 11-Apr-2013), Reindl Harald said:
      > > 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
      >
      > I assure you it is. This is exactly why I am puzzled, though Sahil may have provided the answer (see below)
      >
      > I built postfix with:
      >
      > make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/include/mysql -I/usr/local/include/sasl' 'AUXLIBS=-L/usr/local/lib/mysql -lmysqlclient -lz -lm -lssl -lcrypto -L/usr/local/lib -lsasl2'
      >

      Which on FreeBSD uses the system berkeley DB 1.85.

      > Then which of the libdb.so files on the system is postfix using?
      >
      > # locate libdb.so
      > /usr/local/lib/db42/libdb.so
      > /usr/local/lib/db44/libdb.so
      > /usr/local/lib/db48/libdb.so
      >
      > I can recompile linking against the db48 version, as I assume that is the best choice.
      >

      Yes if Postfix has to inter-operate with programs that insist on db48.

      FreeBSD supports multiple Berkeley DB versions in the same program
      (each version uses distinct function names internally, so there are
      no DLL hell problems).

      Wietse
    • Show all 9 messages in this topic