MYSQL linking errors on Dovecot compile

vip562

New member
Joined
Aug 8, 2006
Messages
4
Hello,

When I try compiling dovecot, I keep getting mysql linking errors. I reinstalled mysql and made sure mysql devel is installed also...I still get the same errors. CAn anyone shed some light on my issue?

Thanks
 
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x11bd): In function `vclose':
: undefined reference to `mysql_close'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x11d9): In function `vclose':
: undefined reference to `mysql_close'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x11fd): In function `vclose':
: undefined reference to `mysql_close'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x125d): In function `vcreate_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1271): In function `vcreate_dir_control':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x12d6): In function `vread_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x12ea): In function `vread_dir_control':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x134f): In function `vread_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1368): In function `vread_dir_control':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x137d): In function `vread_dir_control':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1397): In function `vread_dir_control':
: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x15f8): In function `vwrite_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1626): In function `vwrite_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x163a): In function `vwrite_dir_control':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1696): In function `vdel_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x16be): In function `vdel_dir_control':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x16d2): In function `vdel_dir_control':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x175d): In function `vset_lastauth':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x177f): In function `vset_lastauth':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1793): In function `vset_lastauth':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x17f5): In function `vget_lastauth':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1809): In function `vget_lastauth':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1838): In function `vget_lastauth':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1852): In function `vget_lastauth':
: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1870): In function `vget_lastauth':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1884): In function `vget_lastauth':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x18e6): In function `vget_lastauthip':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x18fa): In function `vget_lastauthip':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x191f): In function `vget_lastauthip':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1939): In function `vget_lastauthip':
: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1959): In function `vget_lastauthip':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x196d): In function `vget_lastauthip':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x19e0): In function `valias_delete_domain':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1a02): In function `valias_delete_domain':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1a16): In function `valias_delete_domain':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1a87): In function `vauth_deldomain':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1ac3): In function `vauth_deldomain':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1b50): In function `valias_select':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1b6e): In function `valias_select':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1b86): In function `valias_select':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1b9e): In function `valias_select':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1bda): In function `valias_select':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1bf4): In function `valias_select':
: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1c19): In function `valias_select':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1cb2): In function `valias_insert':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1cd7): In function `valias_insert':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1ceb): In function `valias_insert':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1d52): In function `valias_remove':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1d74): In function `valias_remove':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1d88): In function `valias_remove':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1de7): In function `valias_delete':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1e09): In function `valias_delete':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1e1d): In function `valias_delete':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1e99): In function `valias_select_all':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1eb7): In function `valias_select_all':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1ecf): In function `valias_select_all':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1ee6): In function `valias_select_all':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1f20): In function `valias_select_all':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1f3a): In function `valias_select_all':
: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x1f73): In function `valias_select_all':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x204d): In function `logsql':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x2072): In function `logsql':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x20ff): In function `vget_limits':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x2113): In function `vget_limits':
: undefined reference to `mysql_store_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x212c): In function `vget_limits':
: undefined reference to `mysql_num_rows'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x2163): In function `vget_limits':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x2177): In function `vget_limits':
: undefined reference to `mysql_error'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x21aa): In function `vget_limits':
: undefined reference to `mysql_fetch_row'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x21c4): In function `vget_limits':
: undefined reference to `mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x250e): In function `vset_limits':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x2537): In function `vset_limits':
: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o)(.text+0x254b): In function `vset_limits':
: undefined reference to `mysql_error'
collect2: ld returned 1 exit status
make[3]: *** [dovecot-auth] Error 1
make[3]: Leaving directory `/usr/local/directadmin/customapache/dovecot-1.0.rc7/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/dovecot-1.0.rc7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/customapache/dovecot-1.0.rc7'
make: *** [all] Error 2
 
Back
Top