Szerző: Dougal McWhinney
Dátum:
Címzett: exim-users
Tárgy: [Exim] Exim 4.20 + MySQL 4.0.12
Hi All,
Has anyone tried compiling Exim 4.20 and MySQL 4.0.12 on RedHat 8.0?
After finally discovering the library had moved this is the error I get.
-ldb -L/usr/lib/ -L/usr/lib/mysql --library=libmysqlclient
lookups/lookups.a(mysql.o): In function `mysql_tidy':
mysql.o(.text+0x45): undefined reference to `mysql_close'
lookups/lookups.a(mysql.o): In function `perform_mysql_search':
mysql.o(.text+0x23b): undefined reference to `mysql_init'
mysql.o(.text+0x253): undefined reference to `mysql_real_connect'
mysql.o(.text+0x263): undefined reference to `mysql_error'
mysql.o(.text+0x2f2): undefined reference to `mysql_query'
mysql.o(.text+0x302): undefined reference to `mysql_error'
mysql.o(.text+0x316): undefined reference to `mysql_use_result'
mysql.o(.text+0x329): undefined reference to `mysql_field_count'
mysql.o(.text+0x352): undefined reference to `mysql_affected_rows'
mysql.o(.text+0x36f): undefined reference to `mysql_error'
mysql.o(.text+0x39e): undefined reference to `mysql_num_fields'
mysql.o(.text+0x3ac): undefined reference to `mysql_fetch_fields'
mysql.o(.text+0x3c2): undefined reference to `mysql_fetch_lengths'
mysql.o(.text+0x5b1): undefined reference to `mysql_fetch_row'
mysql.o(.text+0x5f2): undefined reference to `mysql_free_result'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/root/exim-4.20/build-Linux-i386'
make: *** [go] Error 2
I am not sure as to what the problem might be.
Regards,
Dougal.