You need mysql libraries, because your linker cannot find them. Either, they are not installed or the place where are installed are not in the path specified ( -L/usr/local/mysql/lib/mysql ).
In first case, install them; depending on your OS you have either to install development packages (like mysql-devel) or compile and install mysql source. In second case, check you have the right path specified. Hope it helps. Amodiovalerio [Hypo] Verde > ----- Original Message ----- > From: "Fast Johnny" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 24, 2003 5:14 AM > Subject: [vqadmin] vqregister compile > > > > I don't know if I got on the correct list, but I can't seem > > to compile vqregister. Any help would be appreciated. > > I have mysql up and running but I don't know what it means > > by: cannot find -lmysqlclient. > > > > Thanks for any help and your time. > > Eric > > > > > > [EMAIL PROTECTED] vqregister-2.5]# make > > gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o > register.o password.o > > vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt > > -L/usr/local/mysql/lib/mysql -lmysqlclient > > /usr/bin/ld: cannot find -lmysqlclient > > collect2: ld returned 1 exit status > > make: *** [vqregister] Error 1 > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > > http://platinum.yahoo.com > > > > >
