Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

libmysqlclient.lib / libmysqlclient.a

Status
Not open for further replies.

smolki

Programmer
Jul 14, 2003
3
PL
Hi
I'm trying to write a very simple program wich need to communicate with mysql server. I use DOS and Linux (Slackware). Under DOS, i'm using RHIDE and DJGPP. When compiling, I am getting some errors like unreferenced symbol or something like that. I think that the problem is to link a proper library, but I can't find any of the *.a files in my MySQL distribution (Windows distribution). Can anyone help me with this?
Thanks

Michal Smolinski
 
I believe that MySQL requires a Win32 enviroment or Cygwin enviroment to compile. My guess is you need to first build libMySQLClient somehow on dos. I am not familiar with RHIDE and DJGPP but it looks like support for Cygwin is in the works so you might be able to do it.

This might be a great topic for the MySQL DEV maillist.

abombss
 
Thanks, but I use Win98 for MySQL and my program. DOS is only supported for backward compatibility. I am actually working on Win98 with djgpp compiler. Problem is, that I have no valid library. With MySQL come mysqlclient.lib, but i need libmysqlclient.a. Does anyone knows where to get it?
 
Thanks, but all of this is for Linux based systems. I'm running on Windows. Windows sources could be compiled under VC++ and I have djgpp. Conclusion - MySQL client can't be compiled under djgpp. I found some informations that it can be done with CygWin, and I will try this in few days.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top