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_
important.
I hope I helped.
Good luck!
Karol Majewski
--
Ile zarabiasz? Wypelnij ankiete,
dowiesz sie jak zarabiac wiecej [ http://listaplac.onet.pl ]
---------------------------------------------------------------------
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