Dear all, I am new to dbmail. I want to install the dbmail2.0 rc2. The database I use is Mysql4.0.X. Platform is Linux 9.0 When I use configure and make all, the following errors appear: ... make[2]: Entering directory `/home/wflow/dbmail-2.0rc2' gcc -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -O2 -o dbmail-smtp -L'/vol1/mysql/lib' -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv config.o debug.o list.o dbmd5.o md5.o db.o misc.o mime.o header.o pipe.o bounce.o forward.o main.o mysql/libmysqldbmail.a sort/libsortdbmail.a auth/libauthdbmail.a mysql/libmysqldbmail.a(dbmysql.o)(.text+0xf): In function `db_connect': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:65: undefined reference to `mysql_init' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x72):/home/wflow/dbmail-2.0rc2/ mysql/dbmysql.c:89: undefined reference to `mysql_real_connect' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x91):/home/wflow/dbmail-2.0rc2/ mysql/dbmysql.c:93: undefined reference to `mysql_error' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x101): In function `db_num_rows': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:115: undefined reference to `mysql_num_rows' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x121): In function `db_num_fields': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:123: undefined reference to `mysql_num_fields' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x149): In function `db_free_result': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:129: undefined reference to `mysql_free_result' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x1d2): In function `db_get_result': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:155: undefined reference to `mysql_data_seek' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x1de):/home/wflow/dbmail-2.0rc2 /mysql/dbmysql.c:156: undefined reference to `mysql_fetch_row' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x234): In function `db_disconnect': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:169: undefined reference to `mysql_close' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x248): In function `db_check_connection': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:175: undefined reference to `mysql_ping' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x30b): In function `db_query': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:209: undefined reference to `mysql_real_query' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x349):/home/wflow/dbmail-2.0rc2 /mysql/dbmysql.c:235: undefined reference to `mysql_store_result' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x3a2):/home/wflow/dbmail-2.0rc2 /mysql/dbmysql.c:214: undefined reference to `mysql_error' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x419): In function `db_escape_string': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:248: undefined reference to `mysql_real_escape_string' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x52a): In function `db_get_length': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:292: undefined reference to `mysql_data_seek' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x536):/home/wflow/dbmail-2.0rc2 /mysql/dbmysql.c:293: undefined reference to `mysql_fetch_row' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x552):/home/wflow/dbmail-2.0rc2 /mysql/dbmysql.c:296: undefined reference to `mysql_fetch_lengths' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x574): In function `db_get_affected_rows': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:301: undefined reference to `mysql_affected_rows' mysql/libmysqldbmail.a(dbmysql.o)(.text+0x2a4): In function `db_insert_result': /home/wflow/dbmail-2.0rc2/mysql/dbmysql.c:190: undefined reference to `mysql_insert_id' collect2: ld returned 1 exit status make[2]: *** [dbmail-smtp] Error 1 make[2]: Leaving directory `/home/wflow/dbmail-2.0rc2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wflow/dbmail-2.0rc2' make: *** [all-recursive-am] Error 2
the following is result of 'ls -l /vol1/mysql/lib/' total 1856 -rw-r--r-- 1 mysql mysql 10806 Jul 18 2003 libdbug.a -rw-r--r-- 1 mysql mysql 879270 Oct 25 2001 libmygcc.a -rw-r--r-- 1 mysql mysql 309596 Jul 18 2003 libmysqlclient.a -rw-r--r-- 1 mysql mysql 317484 Jul 18 2003 libmysqlclient_r.a -rw-r--r-- 1 mysql mysql 113614 Jul 18 2003 libmystrings.a -rw-r--r-- 1 mysql mysql 239190 Jul 18 2003 libmysys.a the following is result of 'uname -a' Linux gz2 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux the following is result of 'gcc -v' Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) We use gcc coming with the OS. What is my problem? Thank you in advance. Alan