Heya:

in openBSD I have a cli interface for simple i/o to mysql database.
Written in C.
it works perfectly.

On Darwin and OS X it won't compile.
It gives the following errors.

$ cc -lmysqlclient -I/usr/local/mysql/include testmy.c linklist.c
/usr/bin/ld: Undefined symbols:
_mysql_close
_mysql_error
_mysql_fetch_row
_mysql_init
_mysql_query
_mysql_real_connect
_mysql_store_result


all are defined in libmysql.c
ar -t libmysqlclient.a | grep libmysql.o shows that libmysql.o IS indeed
in the archive?
plainly something is going wrong here, but what?

using mysql-darwin-3.23.49 from the link on www.mysql.com

Darwin opus.my.localnet 5.3 Darwin Kernel Version 5.3: Thu Jan 24
22:06:02 PST 2002; root:xnu/xnu-201.19.obj~1/RELEASE_PPC  Power
Macintosh powerpc

Thanks kindly
--
Liam Allen               [EMAIL PROTECTED]
it may be that your sole purpose in life
is to serve as a warning to others

---------------------------------------------------------------------
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