Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: dev

[DBMail 0000918]: dbmail won't compile without -lgmodule

 

 

DBMail dev RSS feed   Index | Next | Previous | View Threaded


bugtrack at dbmail

Feb 4, 2012, 6:33 AM

Post #1 of 2 (179 views)
Permalink
[DBMail 0000918]: dbmail won't compile without -lgmodule

A NOTE has been added to this issue.
======================================================================
http://www.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: 04-Feb-12 15:33 CET
======================================================================
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://www.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

----------------------------------------------------------------------
(0003396) Emilio Gargiulo (reporter) - 04-Feb-12 15:33
http://www.dbmail.org/mantis/view.php?id=918#c3396
----------------------------------------------------------------------
Resolved in 3.0.0.
Close the issue, thanks.

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
16-Oct-11 00:48 Emilio GargiuloIssue Monitored: Emilio Gargiulo

04-Feb-12 15:33 Emilio GargiuloNote Added: 0003396
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev


bugtrack at dbmail

Feb 4, 2012, 10:19 AM

Post #2 of 2 (168 views)
Permalink
[DBMail 0000918]: dbmail won't compile without -lgmodule [In reply to]

The following issue has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=918
======================================================================
Reported By: zamri
Assigned To: paul
======================================================================
Project: DBMail
Issue ID: 918
Category: installation scripts
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
target:
Resolution: fixed
Fixed in Version: 3.0.0-final
======================================================================
Date Submitted: 26-Aug-11 10:41 CEST
Last Modified: 04-Feb-12 19:19 CET
======================================================================
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://www.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

----------------------------------------------------------------------
(0003396) Emilio Gargiulo (reporter) - 04-Feb-12 15:33
http://www.dbmail.org/mantis/view.php?id=918#c3396
----------------------------------------------------------------------
Resolved in 3.0.0.
Close the issue, thanks.

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
16-Oct-11 00:48 Emilio GargiuloIssue Monitored: Emilio Gargiulo

04-Feb-12 15:33 Emilio GargiuloNote Added: 0003396
04-Feb-12 19:19 paul Status new => resolved
04-Feb-12 19:19 paul Fixed in Version => 3.0.0-final
04-Feb-12 19:19 paul Resolution open => fixed
04-Feb-12 19:19 paul Assigned To => paul
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

DBMail dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.