Re: Unable to call C Prepared API's on Linux(Redhat 9)
Posted by: LivingTheDream
Date: June 23, 2005 01:03AM

Hello,

I don't know if that makes any difference, but I always use the program mysql_config (--cflags/--libs or --libs_r) to compile and link programs with mysql-support. And I choose --libs OR --libs_r to build a multithreaded client or not. You use both libraries for linking your program. Maybe it's working when you leave -lmysqlclient or -lmysqlclient_r out of your command. Or simply use `mysql_config --libs'.

Hope that helps.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Unable to call C Prepared API's on Linux(Redhat 9)
558
June 23, 2005 01:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.