A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=918 
====================================================================== 
Reported By:                zamri
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   918
Category:                   installation scripts
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             26-Aug-11 10:41 CEST
Last Modified:              16-Oct-11 00:35 CEST
====================================================================== 
Summary:                    dbmail won't compile without -lgmodule
Description: 
Steps to produce:

1. ./configure --with-zdb=/usr/local  (*Mandriva doesn't have libzdb
package. I have to compile it from source)

2. Compiling dbmail throws these errors while running make:

../.libs/libdbmail.so: undefined reference to `g_module_build_path'
../.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-rc3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/dbmail-3.0.0-rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dbmail-3.0.0-rc3'
make: *** [all] Error 2


====================================================================== 

---------------------------------------------------------------------- 
 (0003297) Emilio Gargiulo (reporter) - 16-Oct-11 00:35
 http://dbmail.org/mantis/view.php?id=918#c3297 
---------------------------------------------------------------------- 
Same problem with ubuntu 11.10 x86_64.

it seems that the .la files does not contains the
dependency_libs=/usr/lib/x86_64-linux-gnu/libgmodule-2.0.la value.

The workaround is

in file debian/rules
change LDFLAGS = -lcrypt
to LDFLAGS = -lcrypt -lgmodule-2.0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
26-Aug-11 10:41  zamri          New Issue                                    
26-Aug-11 10:42  zamri          Issue Monitored: zamri                       
16-Oct-11 00:35  Emilio GargiuloNote Added: 0003297                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to