I had a similar problem once over. In your courier source there is a file authlib/Makefile Edit that. In there there is a line begining LDFLAGS= I replaced that line with the one below LDFLAGS = -L/home/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib/mysql -lmysqlclient Take note of where your mysql libs are. If you followed the mysql install proceedure, that line will be correct, alternatively your libs might be in /usr/local/lib or /usr/local/lib/mysql Save that file and run make again. I'm not saying it WILL work, but it worked for me -- Regards, Kieran Barnes Signum 1226 Ltd Visit our website at http://www.1226.net Phone: 01772 622889 || Fax: 01772 622558 > -----Original Message----- > From: burrett [mailto:[EMAIL PROTECTED]] > Sent: 13 June 2001 05:40 > To: [EMAIL PROTECTED] > Subject: Unable to compile without errors - off topic I > think, but would > appreciate help > > > Roger Arnold wrote: > > Hi All, > > (Sorry Ken but it's me again) :) > > I just tried to compile courier-imap, but it didn't like the Vpopmail > authentication, which I was afraid of earlier in another email. The > problem seems to relate to the Mysql parts of vpopmail because it's > returning with "undefined reference" and all the errors are > pointing to > Mysql. > I used the same configure as you gave me Ken as the one where > you didn't > have any trouble, mainly because it seems if you point to files in > different locations from default it can stuff things up :) > > ./configure --without-authuserdb --without-authpam \ > --without-authpwd --without-authshadow --without-authldap \ > --with-authvchkpw --enable-workarounds-for-imap-client-bugs > > The errors returned are: > > collect2: ld returned 1 exit status > make[1]: *** [authvchkpw] Error 1 > make[1]: Leaving directory '/usr/src/courier-imap-1.3.8.1/authlib' > make: *** [all-recursive] Error 1 > > There were lots & lots of references to mysql i.e.: > > undefined reference to 'mysql_query' > undefined reference to 'mysql_store_result' > undefined reference to 'mysql_free_result' > undefined reference to 'mysql_fetch_row' > etc. etc............. > > Anyone know what configure item I need to correct the problem, or how > else to fix it? > I don't know enough about programming to change any of the > files, unless > I am just copying what someone else writes, and with > directions on where > to put it :) > > Any and all help will be appreciated > Thanks in advance > Regards > Roger > > PS > Sorry for sending another email to the list so soon Ken but I > can't fix > this one easily :) > BTW everyone, Ken is the greatest and deserves many thanks from me, > which I would like to do publicly :) >