|
Save the teapot fund New CSS web design for Wibble proudly provided by Kelv. Please contact the webmaster with any questions or concerns. |
Wibble > List archives > postfix > 2004 > September [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Errors during install
Lydiard said: > Hi > > I sucessfully setup postfix-1.13 (WITH A LOT OF HELP from P@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). 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. > > 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 >
|