At 2:54 PM -0600 3/19/1999, RaymanJ@stripped wrote:
>Hello,
> I am testing out how to connect to MySQL with a C program. This is
>the first
>time for me to do this.
> Problem:
> When ever I compile my program it gives me an error message
>as below.
>
>/var/tmp/ccyP17051.o: Undefined symbol `_mysql_connect' referenced from text
>seg
You need to add -lmysqlclient to your link command. If the library is
stored in a non-standard place, you may need to precede that argument
with -L/path/to/non-standard/place so the linker can find it.
--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/