configure:2825: checking for mysql_config configure:2843: found /usr/bin/mysql_config configure:2856: result: /usr/bin/mysql_config configure:2892: gcc -o conftest -pipe -g -O2 -I/usr/include/mysql -I/usr/local/include -L/usr/local/lib -mcpu=i486 -fno-strength-re$ /tmp/ccJgjp0b.o(.text+0xf): In function `main': /home/vadtec/anope_test/conftest.c:13: undefined reference to `mysql_init' collect2: ld returned 1 exit status configure:2898: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | int | main () | { | MYSQL *mysql = mysql_init(0); | ; | return 0; | }