Patrick Fremond wrote:
> 
> Hi
> 
> I use this
> 
> mysql-3.23.26-beta      under /usr/local/mysql
> vpopmail-4.9.4          under /home/vpopmail
> 
> ./configure --enable-default-domain=thelab-intl.com --enable-sqlincdir=/usr/loca
> l/mysql/include/mysql/ --enable-sqllibdir=/usr/local/mysql/lib/mysql --enable-my
> sql=y --enable-roaming-users=y
> 
> and qmailadmin-0.38
> 
> I ve got this when i try to make qmailadmin:
> 
> /home/download/vpopmail-4.9.5/vauth.c:613: undefined reference to `mysql_query'
> /home/download/vpopmail-4.9.5/vauth.c:618: undefined reference to `mysql_use_res
> ult'
> /home/download/vpopmail-4.9.5/vauth.c:625: undefined reference to `mysql_fetch_r
> ow'
> /home/download/vpopmail-4.9.5/vauth.c:626: undefined reference to `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp':
> /home/download/vpopmail-4.9.5/vauth.c:640: undefined reference to `mysql_query'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_relay_table':
> /home/download/vpopmail-4.9.5/vauth.c:649: undefined reference to `mysql_query'
> /home/download/vpopmail-4.9.5/vauth.c:653: undefined reference to `mysql_store_r
> esult'
> /home/download/vpopmail-4.9.5/vauth.c:654: undefined reference to `mysql_free_re
> sult'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> /home/download/vpopmail-4.9.5/vauth.c:668: undefined reference to `mysql_close'
> collect2: ld returned 1 exit status
> make[2]: *** [qmailadmin] Error 1
> make[2]: Leaving directory `/home/download/qmailadmin-0.38'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home
> /download/qmailadmin-0.38'
> make: *** [all-recursive-am] Error 2
> 
> SOme one know why?
> 
> Tks
> 
> Patrick FREMOND
> 
> TheLab
> Technopole Izarbel 64210 Bidart
> Tel. : +33 (0) 5 59 41 39 41 - Fax. : +33 (0) 5 59 41 39 42
Patrick,
You have put this lines in your Makefile:
LIBS = -L/path/for/your/libs/mysql -lmysqlclient

No more.
-- 
Encontre um trabalho que vc ame e n�o ter� que
trabalhar nenhum dia de sua vida.
3:00pm  up 1 day   4:26   8 users
begin:vcard 
n:Pereira Telles;Rodrigo
tel;cell:+55-0xx11-5089-9211
tel;work:055-0xx11-3816-3391
x-mozilla-html:FALSE
url:http://linux.newbit.com.br
org:New Bit - Inform�tica;System Administrator
adr:;;;S�o Paulo;SP;;Brasil
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Linux User #159530=0D=0ALinux Machine #70461=0D=0AICQ #14414330
x-mozilla-cpt:;5472
fn:Rodrigo Pereira Telles
end:vcard

Reply via email to