Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiling sendmail 8.12.9

Status
Not open for further replies.
Jan 10, 2003
34
NG
installing sendmail 8.12.9 and Berkely db.4.1.25

I get this on running ./Build -c

Making all in:
/opt/apps/SUNsoftware/sendmail-8.12.9/libsm
Configuration: pfx=, os=SunOS, rel=5.8, rbase=5, rroot=5.8, arch=sun4, sfx=, variant=optimized
Making in /opt/apps/SUNsoftware/sendmail-8.12.9/obj.SunOS.5.8.sun4/libsm
gcc -O -I. -I../../include -I/usr/local/BerkeleyDB.4.1/include -DNEWDB -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOLARIS=20800 -DNETINET6 -DNEWDB -c t-exc.c
gcc -o t-exc -L/usr/local/BerkeleyDB.4.1/lib t-exc.o libsm.a -ldb -lresolv -lsocket -lnsl
============================================================
./t-exc
ld.so.1: ./t-exc: fatal: libdb-4.1.so: open failed: No such file or directory
*** Signal 9
make: Fatal error: Command failed for target `t-exc'
Current working directory /opt/apps/SUNsoftware/sendmail-8.12.9/obj.SunOS.5.8.sun4/libsm
*** Error code 1
make: Fatal error: Command failed for target `all'

my site.config.m4 is like

# vi devtools/Site/site.config.m4
"devtools/Site/site.config.m4" 6 lines, 265 characters
APPENDDEF(`confLIBDIRS',`-L/usr/local/BerkeleyDB.4.1/lib')
APPENDDEF(`confINCDIRS',`-I/usr/local/BerkeleyDB.4.1/include')
APPENDDEF(`confENVDEF',`-DNEWDB')
APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF',`-D_FFR_MILTER_ROOT_UNSAFE')

Any ideas on the errors?
 
Copy /usr/local/BerkeleyDB.4.1/lib/* to /usr/lib.
I am sure there is a more elaborate method but it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top