Hello Dimitar
I'm not a great linux programmer but I had few days ago similar problem.
My advice is to try this:
gcc -o test.cgi test.c cgihtml.a
-I/usr/local/mysql/include -L/usr/local/mysql/lib -lz -lmysqlclient -lz
The only change here is twice use of "-lz". In my case that was _very_
import
Hi all,
My ISP provides me with MySql version 3.23.36 on Red Hat Linux 5.2 box,
gcc version is 2.7.2.1, libc version 5.
When I try to compile my C application I get lots of errors. What is
wrong ?
Since this is not my own server, what should I ask my ISP to do in order
to correct this? I mean, if
I've got the following file on RH Linux 7.0:
#include
#include
int main()
{
MYSQL mysqlConnection;
mysql_init(&mysqlConnection);
mysql_options(&mysqlConnection,MYSQL_READ_DEFAULT_GROUP,"Finance Manager");
if (!mysql_real_connect(&mysqlConnection,"localhost","root"