Ok, so installed the Mysql devel package, and now it no longer whines about lacking the header files. However the linking to mysqlclient seems to go wrong. Here's the output I get.
Quote:
gcc -g -o BanTool bantool.c -lmysqlclient
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
|
Btw
Using MySQL 4.20 rpm
SuSE 9.1 (with 2.6 kernel)
Everything installed to default rpms directories.
Any hints, please, this seemed a good idea as our server has something like 2200 bans in the amxbans db.
Cobra
__________________
Arguing on the Internet is like running in the Special Olympics, even if you win you're still a retard