also sprach balaji:
> iam trying to compile qmailadmin iam getting following error
> any help will appriciate.
> 
>  gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o
> forward.o
>   mailinglist.o sysadmin.o user.o util.o auth.o template.o command.o
> show.o cgi
> .o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -lnsl -lm -lcrypt
> 
> /usr/bin/ld: Unsatisfied symbols:
>    mysql_query (code)
[snip]

You aren't linking to your MySQL libraries, even though you are trying to
use MySQL. Add ``-L/path/to/mysql/lib -lmysqlclient'' to that compile line
and it should work.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
I've run DOOM more in the last few days than I have the last few
months.  I just love debugging ;-)
(Linus Torvalds)

Reply via email to