"Ramasubramanian, Suresh" proclaimed:
> gcc -o sendmail main.o alias.o arpadate.o bf_portable.o clock.o collect.o
> conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o
> headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o readcf.o
> recipient.o savemail.o sfsasl.o shmticklib.o srvrsmtp.o stab.o stats.o
> sysexits.o timers.o trace.o udb.o usersmtp.o util.o version.o
> ../libsmutil/libsmutil.a -lresolv -lsocket -lnsl
> Undefined first referenced
> symbol in file
> db_create map.o
> ld: fatal: Symbol referencing errors. No output written to sendmail
> *** Error code 1
> make: Fatal error: Command failed for target `sendmail'
Looks like the Berkeley DB that you installed is either
(a) not being found by the loader. What is the output of
$ ldconfig -p | grep db
Where were the libraries installed? /usr/lib or /usr/local/lib? If it is
some strange directory like /opt/foo/lib, you'd have to include that to
/etc/ld.so.conf
(b) incorrect version of Berkeley DB. There are 2 popular versions
currently in use. 1.X an 2.X They are incompatible.
I'm leaning towards 'a'.
Thaths
--
Lisa: "Dad. You killed the zombie Flanders."
Homer: "He was a Zombie?"
Sudhakar C13n http://people.netscape.com/thaths/ Lead Indentured Slave
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.