Errors during install

From: Lydiard (no email)
Date: Wed Sep 01 2004 - 13:25:32 EDT


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

The config I used was:
./configure --enable-anon --enable-plain --enable-login --enable-sql
--disable-krb4 --disable-opt --disable-cram --disable-digest
--with-mysql=/usr/local/mysql/lib/mysql --without-pam --without-saslauthd
--without-pwcheck --with-dblib=berkeley --with-bdb-libdir=/usr/local/bdb/lib/
--with-bdb-incdir=/usr/local/bdb/include/ --with-openssl=/usr/local/ssl/
--with-plugindir=/usr/local/lib/sasl2

This didn't report any problems... Following the howto, I've done the following:

#echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf
#ldconfig

and

#echo "/usr/local/bdb/lib" >> /etc/ld.so.conf
#ldconfig

The only issue I have is that /usr/local/mysql/lib does not contain a directory
called mysql, which I guess means the question I have is, do I need to change
the line:

#echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf

If someone could give me some pointers, I'd be very grateful.. I already had
errors trying to install postfix, which is why I've gone out and found a howto
that does all I want to do..

Thanks.

Lydiard








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD