At 2:54 PM -0600 3/19/1999, RaymanJ@stripped wrote:
> I am testing out how to connect to MySQL with a C program. This is
>time for me to do this.
> When ever I compile my program it gives me an error message
>/var/tmp/ccyP17051.o: Undefined symbol `_mysql_connect' referenced from text
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/