I ran "./configure --with-sieve --with-zdb=/usr
--localstatedir=/var/run/dbmail", it completed without errors.

But I get a following error when compiling with "make all":

/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-D_LARGEFILE64_SOURCE -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include   -I/usr/include/zdb -W -Wall
-Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -lglib-2.0
  -lgmime-2.4 -lgobject-2.0 -lglib-2.0   -lm -lmhash -levent -lssl
-lzdb -o dbmail-deliver  main.o  libdbmail.la
libtool: link: gcc -g -O2 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -D_LARGEFILE64_SOURCE
-I/usr/include/gmime-2.4 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/zdb -W -Wall
-Wpointer-arith -Wstrict-prototypes -o .libs/dbmail-deliver main.o
-Wl,--export-dynamic  -lcrypt -lgmime-2.4 -lgobject-2.0 -lglib-2.0 -lm
-lmhash -levent -lssl -lzdb ./.libs/libdbmail.so -Wl,-rpath
-Wl,/usr/local/lib/dbmail
../.libs/libdbmail.so: undefined reference to `g_module_build_path'
../.libs/libdbmail.so: undefined reference to `g_thread_init'
../.libs/libdbmail.so: undefined reference to `g_module_symbol'
../.libs/libdbmail.so: undefined reference to `g_module_supported'
../.libs/libdbmail.so: undefined reference to `g_module_open'
../.libs/libdbmail.so: undefined reference to `g_module_error'
collect2: ld returned 1 exit status
make[3]: *** [dbmail-deliver] Error 1
make[3]: Leaving directory `/root/dbmail_3.0.0-rc2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/dbmail_3.0.0-rc2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dbmail_3.0.0-rc2'
make: *** [all] Error 2


To satisfy dependencies, I installed these packages:

glib2-devel-2.22.5-5.el6.x86_64
gmime-devel-2.4.21-1.el6.x86_64
mhash-devel-0.9.9.9-3.el6.x86_64
libevent-devel-1.4.13-1.el6.x86_64
openssl-devel-1.0.0-4.el6_0.2.x86_64
libzdb-devel-2.8.1-1.el6.x86_64
libsieve-devel-2.2.7-3.el6.x86_64
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to