Hi, I'm trying to install Postfix to work with MySQL and BDB (system is debian woody). It's going to be running with Cyrus (IMAP and SASL) to hopefully function as a mail server.
My problem is this, I'm trying to configure with
make makefiles 'CCARGS=-DHAS_MYSQL \
-I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \
-I/usr/local/include/sasl -I/usr/local/bdb/include' \
-lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr/local/bdb/lib'
As suggested by this HOWTO
. I didn't expect it to work the first time as Cyrus and MySQL weren't installed using this HOWTO, so after it failed, I foolishly didn't bother to check why and just reinstalled all the other programs using the HOTOWS specifications, of course I ran into the same problem again.
The "make makefiles..." command seems to work okay, except for having "rm -f Makefile" at the end!
Even so I can still run make, it does however return errors, the most noticeable for me being "/usr/bin/ld: Cannot find -lz. "info lz" tells me that a man page is yet to be written for this command
When I remove -lz I get the same output from "make makefiles..." but can not actually run "make".
leads me to believe I need another package, db-4.1.25-devel. "apt-get install" can't find it, and I can't find it anywhere in dselect. (I should point out here I am confused as to how this could fix my problems considering it directly relates to BDB and I'm installing postfix, so any information explaining this would be really great)
A quick google for db-4.1.25-devel returns only the discussion I've linked to. If anyone knows where I can get it or it's name in debian that would be great.
Thanks for your time.