In message "building ruby"
    on Fri, 15 Feb 2002 04:19:35 +0900,
    Mark Probert <probertm / nortelnetworks.com> writes:

>          [bang1] ruby-1.6.6 > make
>          compiling Win32API
>          compiling curses
>          compiling dbm
>                  ld -b  -E -L/home/probertm/src/ruby-1.6.6  -o dbm.sl 
> dbm.o  -ldb -lc
>          ld: Can't find library for -ldb
>          *** Error exit code 1
> 
>          Stop.

Though I don't know why that happens, try

	./configure --with-dbm-type=dbm

-- Gotoken