[Dovecot] compiling dovecot on aix gcc 3.3.2

funkypunky drunky funkypunkydrunky at gmail.com
Thu Mar 29 01:41:20 EEST 2007


Hello Ralf,
Ohh thanks for your reply and i start to understand what is going on. You
tell everything very well. It is amazing. After i read your mail, I export a
variable
 export LDFLAGS="-Wl,-brtl" and now i find shared object files (.so) in
their proper places after compilation. At first glance everything seems ok
but when i tried to start dovecot
Edlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: rtld:
0712-001 Symbol i_malloc was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol i_strdup was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol default_pool was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol mail_storage_get_mailbox_path was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol i_info was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol mountpoint_get was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol i_error was referenced
      from module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so(), but a
runtime definition
            of the symbol was not found.
Additional errors occurred but are not reported.
Error: imap dump-capability process returned 89

This symbols are not found. Now i get happy that i see the same error
message as you but the thing that i cannot understand these .exp files. I
have these exp files in their places, and they are created by aix linker. (I
am using aix linker. IBM doesnt advice using gnu linker
http://www-128.ibm.com/developerworks/aix/library/au-gnu.html)
./dovecot-1.0.rc28/src/plugins/acl/.libs/lib01_acl_plugin.exp
./dovecot-1.0.rc28/src/plugins/convert/.libs/lib20_convert_plugin.exp
./dovecot-1.0.rc28/src/plugins/quota/.libs/lib10_quota_plugin.exp
./dovecot-1.0.rc28/src/plugins/imap-quota/.libs/lib11_imap_quota_plugin.exp
./dovecot-1.0.rc28
/src/plugins/lazy-expunge/.libs/lib02_lazy_expunge_plugin.exp
./dovecot-1.0.rc28/src/plugins/mail-log/.libs/lib20_mail_log_plugin.exp
./dovecot-1.0.rc28/src/plugins/trash/.libs/lib11_trash_plugin.exp
Do u mean that i have to point these exp files with linker flag -bexpall .


More information about the dovecot mailing list