Re: Errors during install

From: Lydiard (no email)
Date: Wed Sep 01 2004 - 15:20:49 EDT


Quoting Lydiard <>:

> However, moving onto the postfix install has it's own problems.. It's
> exiting
> during make install with the following:
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
> make: *** [master] Error 1
> make: *** [update] Error 1
>
> Which pretty much means, mysql is coming back onto the agenda and I'm going
> to
> have to start again from scratch. Unless.. could someone please explain
> this
> line - because if I knew what it was doing, I'd could try to work around it..
>
> 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'
>
> Specifically, what is the -I and what should be the value for the
> CCARG=-DHAS_MYSQL? What role does the ' ' play?

Well Rob F was right ;) I did run into the problem, but playing around with it,
seems to have made it happy and it's installed! Woohoo! I'd still apreciate
knowing what that command lines wants to do so that I can accurately workout
why the Howto isn't working for me, and if it's because I foobared something
earlier in the game.. Knowing is much better than having to guess when I come
to upgrade to postfix-3.x in a year's time ;)

Lyd








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD