configure failure os x

David Minor dave at dminor.com
Thu Apr 3 23:51:07 CEST 2003


On Thu, 03 Apr 2003 00:36:00 +0200, Matthias Andree wrote:
> David Relson <relson at osagesoftware.com> writes:
> 
>>  David,
>> 
>>  Possibly the most interesting line reads "ld: can't locate file for:
>>  -ldb-4.1".  Configure is looking for the library and not finding it.
>>  Are you giving configure the path for the library or for the header
>>  file?  Since you have /usr/include/db.h and that's a standard unix
>>  location, configure should find the header file.  Try running configure
>>  with "--with-db=/path/to/libdb-4.1".
> 
> If that doesn't help, it's also possible to omit the --with-db option
> and manually configure:
> 
> env CPPFLAGS=-I/path/to/db4/include LDFLAGS=-L/path/to/db4/lib \
>     LIBS=-ldb-4.1 sh configure
> 

This was the only solution that worked for me.  using Matthias' manual 
configure method.  The only other thing I had to do was add 
/usr/local/man to my MANPATH to get the manual to show up.  

Haven't gotten the a chance to set it up yet, but the configuration 
went fine.  Thanks for all the help.

dm




More information about the Bogofilter mailing list