[H-GEN] sendmail 8.9.0

Aaron Howell aaron at sunrise.cnl.com.au
Fri Jul 3 05:49:07 EDT 1998


On Fri, Jul 03, 1998 at 03:32:54PM +1000, Michael Oliver wrote:
> 
> map.o(.text+0x11a2): undefinded reference to `db_open'
> udb.o(.text+0xea4): undefined reference to `db_open'
> make: *** [sendmail] Error 1
> 
> 
> I have told it where the db 2.x.x header files are, I have even tried 
> copying them to the current dir.  I have added include lines to the above 
> files, but nothing is going the way I want it too...
> 
> 
> Anyone have an idea?
Yep, sounds like you need one of... (depening on your system)
-ldb
-ldbm
-lgdbm
-ldb2
These get added to the LIBS= line in your Makefile
or in a config file, or somewhere else :) sorry havent actually done sendmail compiles *shudder* but I've encountered this error before wit  other mdas.
Anyway the actual cause of this is that the db routines aren't being linked in,
thus the undefined references. No relation to the include files.
Regards
Aaron
> 
> 
> 

-- 
Aaron Howell.	Q.U.T Equity Department, Technical Support/Training.
work: a.howell at qut.edu.au	Linux/Networking Support.
home: aaron at sunrise.bayside.net.au	phone +61-412-956-467
www: http://www.aus-net.com/~aaron	irc: DaRkAnGeL
I love you Nessa! Now, forever, always! :)




More information about the General mailing list