tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Problems compiling sendmail 8.9.0
@ 1998-06-02 22:13 Larry Griffith
  0 siblings, 0 replies; only message in thread
From: Larry Griffith @ 1998-06-02 22:13 UTC (permalink / raw)
  To: tru64-unix-managers

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
============================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-02 22:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-02 22:13 Problems compiling sendmail 8.9.0 Larry Griffith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox