From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079079016101.tru64-unix-managers.marc@archive.invalid> From: UnixAdmin Date: Wed, 13 Oct 1999 13:23:17 +0000 To: tru64-unix-managers Subject: SUMMARY: ldbm not found while compiling sendmail 8.9.3 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079079016101 Thanks to the following individuals for their timely assistance. Ralph Rodriguez Steve VanDevender The error was indicating the file ldmb was not found and that groff was not found. The compiler/linker was looking for a file called libdbm.a located in one of these dirs: /lib /usr/lib /usr/ccs/lib The cause was that the standard libraries and the standard programer commands packages were not loaded on the system. The groff text formatting program was not loaded (and is not needed to compile sendmail) only for formatting the results to the screen. As well Steve made these observations that were helpful. Note that the default build options for sendmail that you are using have probably specified -DNDBM in sendmail's build flags and -ldbm in the link flags. Traditional dbm is rolled into the Digital UNIX C library so you do not need to have the -ldbm link flag for dbm database support. If you want to link with Berkeley DB 2.x then you need to make sure that -DNEWDB is in sendmail's build flags and that -ldb (probably prefixed with the appropriate -L/usr/local/lib or -L/usr/local/BerkeleyDB/lib) is in the link flags. I have Berkeley DB 2.7.7 installed in /usr/local/lib on my system, and I use these site files for building sendmail: > ---site.config.m4--- > define(`confENVDEF', `-DTCPWRAPPERS=1') > PREPENDDEF(`confLIBS', `-lwrap') > > ---site.OSF1.m4--- > define(`confCC', `cc') > define(`confOPTIMIZE', `-O3') > define(`confMAPDEF', `-DNDBM -DMAP_REGEX') > PREPENDDEF(`confLIBDIRS', `-L/usr/local/lib') > PREPENDDEF(`confINCDIRS', `-I/usr/local/include') > > You can create your own site definitions in > sendmail-8.9.3/BuildTools/Site to override the default settings. > See sendmail-8.9.3/BuildTools/README for more information. unixadmin_@excite.com ________________________________________________________________ Get FREE voicemail, fax and email at http://voicemail.excite.com Talk online at http://voicechat.excite.com