From: Larry Griffith <larry () garfield ! wsc ! mass ! edu>
To: tru64-unix-managers
Subject: Problems compiling sendmail 8.9.0
Date: Tue, 02 Jun 1998 22:13:17 +0000 [thread overview]
Message-ID: <96078712011389.tru64-unix-managers.marc@archive.invalid> (raw)
Dear Managers,
I've been trying to compile sendmail 8.9.0. I have
installed bind-8.1.2 and db-2.4.10 (the latter as recommended in the
sendmail documentation). The libraries and include files for both are
installed in the default locations under /usr/local.
I had to patch src/sendmail.h and src/map.c because of a
compiler error concerning the declaration of "map_rewrite". I put a
#define MAP_REWRITE_FIX
before the #include "sendmail.h" in map.c and surrounded the
prototype of "map_rewrite" in sendmail.h with a preprocessor test of
this symbol.
Once you do this, the following command compiles all of the
sendmail files, but fails to link sendmail itself:
./Build -L/usr/local/lib -L/usr/local/bind/lib
-I/usr/local/include -I/usr/local/bind/include
(this is on one line)
The linker error complains that "db_open" is unresolved.
I checked the db-2.4.10 software; there is indeed a db_open
function in it. The command
nm /usr/local/lib/libdb.a | grep "db_open"
seems to show the presence of db_open. What am I doing wrong here?
Larry
============================================================================
Larry Griffith Dept. of Computer & Info Science
larry@garfield.wsc.mass.edu Westfield State College
(413) 572-5294 Westfield, MA 01086 USA
PGP public key available at: http://garfield.wsc.mass.edu/dcis/griffith.html
============================================================================
reply other threads:[~1998-06-02 22:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox