> You need to create a file called conf-mysql in the netqmail-1.05 dir and > inside it set the path to your libmysqlclient.a > eg: /usr/lib/libmysqlclient.a > > Then edit Makefile and at about line 1589 you will see > > `cat socket.lib` dns.o `cat dns.lib` -lcrypt \ > `head -1 conf-vpopmail`/lib/libvpopmail.a > > change this to read > > `cat socket.lib` dns.o `cat dns.lib` -lcrypt \ > `head -1 conf-vpopmail`/lib/libvpopmail.a \ > `head -1 conf-mysql` -lz -lm > > > and then recompile. That should be all that your missing. > > cheers > Shane > > >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >>Sent: Tuesday, 27 July 2004 11:39 PM >>To: [EMAIL PROTECTED] >>Subject: [toaster] Toaster with MySQL >> >>We're planning on doing a mass migration of our mail from an older >>version of the toaster (0.4.7) to the current one. I've finally >>gotten the box to install the whole shebang on, and I'm stoked. We >>are running MySQL as our authentication backend, as it helps with >>creating those reports so beloved by management. :) I've gotten >>vpopmail installed with MySQL just fine, but when I try to apply the >>chkuser.tmda patch, I get about fifty or sixty lines of, for example: >> >>/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1cc2): In function >>`vcreate_lastauth_table': >>/usr/local/src/vpopmail-5.4.1/vauth.c:1239: undefined reference to >>`mysql_query'/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x > 1cd6):/usr/local/src/vpopmail-5.4.1/vauth.c:1240: >>undefined reference to `mysql_error' >> >> >>(Yes, all my sources are in /usr/local/src.) >> >>So, a couple of questions: >> >>1) Can I use MySQL with the toaster? >> >>2) If so, can I use the chkuser.tmda patch with MySQL? >> >>3) If I can to 2), what am I doing wrong? >> >>I don't necessarily need tmda, BTW. It'd be nice to have, but >>we've lived >>without it this long. >> >>Any assistance would be welcome. I can send the full 50-line error >>message if >>you'd like. :) >> >> >>Thanks, >> >>-Matt >> >> > Woot! It compiles now! Thanks, Shane. Hopefully this will be the only glitch...
-Matt
