*BSD News Article 18360


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!wupost!cs.utexas.edu!uunet!pipex!sunic!isgate!veda.is!adam
From: adam@veda.is (Adam David)
Newsgroups: comp.os.386bsd.bugs
Subject: [386bsd] sendmail 8.* problems
Message-ID: <CA4t4J.1FI@veda.is>
Date: 14 Jul 93 01:50:28 GMT
Organization: Veda Systems, Iceland
Lines: 21

Tried installing sendmail 8.1C on 386bsd without #define'ing NDBM or NEWDB
because the user database (getpwent.o and friends) still use the Net-2
version of the db(3) package. Aliases don't work at all. I tried #define'ing
NEWDB, then aliases worked correctly but no mail could be delivered locally
since no users could be found because the getpwent routines expected the older
*.db file format but got linked with the 1.6 db library. The older library
does not have dbopen() and so cannot be used except for getpwent.

There is no linker that I know of that can strip internally resolved symbols
in such a way that linking with both versions of libdb is possible. The
simplest hack would be to exec a getpwent program that is linked with the
old library version.

What is the way forward? It is pretty bad because required aliases such as
postmaster are no longer working,

Is the 1.6 version of libdb 100% backwardly compatible with earlier versions
as far as programming interface syntax/semantics is concerned?

--
adam@veda,is