Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82430 - Upgrading to courier-imap-4.0.1 breaks courier_authmysql
Summary: Upgrading to courier-imap-4.0.1 breaks courier_authmysql
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 20:46 UTC by Albert Lash
Modified: 2006-03-04 10:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Lash 2005-02-17 20:46:06 UTC
When I upgrade courier-imap to 4.0.1, the ability to use mysql to authorize users is disabled. This was complicated by a mysql bug which I thought was causing courier-imap or courier-authlib to compile incorrectly. However, with both mysql-4.0.22 and 4.0.22-r2, the following error is reported in mail.err when I run the init script for courier-authlib:

Feb 17 21:26:07 clark authdaemond: Can't locate init function courier_authmysql_init.
Feb 17 21:26:07 clark authdaemond: /usr/lib/courier-authlib/libauthmysql.so.0: undefined symbol: courier_authmysql_init

Reproducible: Always
Steps to Reproduce:
1. Setup http://www.gentoo.org/doc/en/virt-mail-howto.xml
2. Emerge to courier-imap-4.0.1, which will emerge courier-authlib-0.58
3. Update confs, restart service, tail -f /var/log/mail/mail.err
Actual Results:  
Service would start, but log would report error:
Feb 17 21:26:07 clark authdaemond: Can't locate init function courier_authmysql_init.
Feb 17 21:26:07 clark authdaemond: /usr/lib/courier-authlib/libauthmysql.so.0: undefined symbol: 
courier_authmysql_init

Mail access authorization fails. 

Expected Results:  
Started with no error. 

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.26-grsec-2.0 
i686)
===============================================================
==
System uname: 2.4.26-grsec-2.0 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 09:28:37)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.9.4, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/
share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo http://
gentoo.mirrors.pair.com/"
LDFLAGS="-pie"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync5.us.gentoo.org/gentoo-portage/"
USE="x86 berkdb crypt gd gif imagemagick imap innodb jpeg libwww maildir memlimit mmx mysql 
ncurses nls pam pam-mysql perl pic python samba sasl snmp ssl tcpd tiff vhosts xml xml2 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-04 10:48:51 UTC
Works fine here. Reopen if this is reproducible with current stable version of courier-authlib (0.58).