Original-Message-ID: <[EMAIL PROTECTED]>
Original-Sender: "Chai Wutiwiwatchai" <[EMAIL PROTECTED]>
Original-Subject: problem of using API in embedded server mode
Original-Date: Fri, 02 Aug 2002 20:52:45 +0700
-------------------------------------------------------------------------------------------------------------------------------

To use MySQL API on Linux RH7.3 in embedded-server mode,
I have compiled my source by
  gcc -o test test.c -L/usr/local/mysql/lib -lmysqlclient
It appeared an error message
  undefined reference to 'mysql_server_init'
  undefined reference to 'mysql_server_end'
The manual suggests to link libmysqld.lib instead of libmysqlclient.lib,
but libmysqld.lib has not been built on my machine (I have installed
rpm mysql-devel-3.23). I'm not sure what should I do to solve it.
Please suggest me some.
Chai

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to