>>>>> "Thaths" == Sudhakar Chandrasekharan <[EMAIL PROTECTED]> writes:
Thaths> "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'
Thaths> Looks like the Berkeley DB that you installed is either
Thaths> (a) not being found by the loader. What is the output of
Thaths> $ ldconfig -p | grep db
Thaths> Where were the libraries installed? /usr/lib or
Thaths> /usr/local/lib? If it is some strange directory like
Thaths> /opt/foo/lib, you'd have to include that to
Thaths> /etc/ld.so.conf
Thaths> (b) incorrect version of Berkeley DB. There are 2 popular
Thaths> versions currently in use. 1.X an 2.X They are
Thaths> incompatible.
Thaths> I'm leaning towards 'a'.
Look at the gcc command again. -ldb don't appear anywhere on it :-)
-- Raju
-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH