>Paul,
>
> Thanks very much for your quick responses and suggestions. I went ahead
>and tried the combination you suggested -- I deleted the db argument, and
>tried to compile by specifying -lmysqlclient instead of -lmysql. Here's
>what I got back
>
># cc -o mysql_connect mysql_connect.c -lc -lmysqlclient
>undefined first referenced
> symbol in file
>mysql_init mysql_connect.o
>mysql_real_connect mysql_connect.o
>i386ld fatal: Symbol referencing errors. No output written to mysql_connect
>
>
>#cc -o mysql_connect mysqlconnect.c -lc -L/u/april/mysql -lmysqlclient
><
>undefined first referenced
> symbol in file
>mysql_init mysql_connect.o
>mysql_real_connect mysql_connect.o
>i386ld fatal: Symbol referencing errors. No output written to mysql_connect
>
>
> Any thoughts on this, Paul, or anyone else?
You need to tell us whether or not you do have a libmysqlclient.a on
your machine. Since you appear to have mysql.h, I'm guessing you
do. But what directory is it in?
--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/