From: Lydiard (no email)
Date: Wed Sep 01 2004 - 14:32:31 EDT
Sorry, the reply shuold have gone to the list..
Quoting Mike M <>:
> Lydiard said:
> > Hi
> >
> > I sucessfully setup postfix-1.13 (WITH A LOT OF HELP from P at trick!!) last
> > year..
> > I have a new server, and of course I want to go with postfix-2.x - I've
> > learnt
> > a lot about linux in the last year, but this problem has me stumped, and
> > I've
> > googled to little avail..
> >
> > The system I want to have should be postfix, cyrus-sasl, courier-imap,
> > mysql,
> > amavis, ClamAV, Spamassassin, etc.. So far, I've installed mysql
> > sucessfully,
> > and openssl.. During the cyrus install, I have the following error when
> > I do
> > "make":
> >
> >
> > /usr/bin/ld: cannot find -lmysqlclient
> > collect2: ld returned 1 exit status
> > make[2]: *** [libsql.la] Error 1
> > make[2]: Leaving directory `/usr/local/cyrus-sasl-2.1.19/plugins'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/cyrus-sasl-2.1.19'
> > make: *** [all] Error 2
>
> Not that this is the Cyrus users list, but...
>
> My guess is you downloaded a binary MySQL distribution from www.mysql.com.
> Those do not include the proper dynamic library (libmysqlclient.so).
No, I realise that, and that means I'm extra grateful :)
Your guess is correct - how should I have installed it? RPMs? And if so, which
ones, because there is a plethora..
> Either that, or your --with-mysql= option is set incorrectly. You want
> that to be set to the root of the MySQL install, not the lib directory
> within the MySQL install.
Given that mysql is located in /usr/local/mysql and that my configure option
was:
./configure --with-mysql=/usr/local/mysql/lib/mysql
If I've understood you correctly, I should be using:
./configure --with-mysql=/usr/local/mysql
AM I getting warm?
Thanks for your suggestions though :)
Lydiard
|
|
|