Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-26-2003, 12:12 AM   #1
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Rep: Reputation: 15
Postfix install: can't get past make.

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' \
'AUXLIBS=-L/usr/local/mysql/lib/mysql \
-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".

This discussion 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.
- cirofren


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make postfix accept mail from multiple domains Farthom Linux - Newbie 4 09-14-2006 11:13 AM
WoW install trouble in Cedega - Can't get past disc 1 animension Linux - Games 2 03-09-2005 08:10 AM
linux-wlan-ng installation wont go past the "make all" step apu95 Mandriva 5 10-31-2004 09:37 PM
how can I make postfix more secure? ziggie216 Linux - Software 1 12-04-2003 11:10 PM
Been trying to install Red Hat 7.0 for the past 3 days w/o success, HELP!!! jayman626 Linux - Software 6 07-16-2001 02:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration