From: "Mike Edenfield" <kutulu@kutulu.org>
To: <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] courier-imap cannot find courier-authlib
Date: Fri, 2 Nov 2012 08:05:34 -0400 [thread overview]
Message-ID: <00bb01cdb8f2$5d3bd0d0$17b37270$@kutulu.org> (raw)
I recently upgraded my courier setup (imap and authlib):
basement lib64 # eix -Ic courier
[I] net-libs/courier-authlib (0.65.0-r1@11/01/2012): Courier authentication
library.
[I] net-mail/courier-imap (4.8.0@11/01/2012): An IMAP daemon designed
specifically for maildirs.
After I was finished, the imap server stopped accepting new connections. I
managed to track the problem down to missing shared libraries from
courier-authlib needed by imaplogin:
basement authlib # ldd /usr/sbin/imaplogin
linux-vdso.so.1 (0x0000029ae5055000)
libcourierauth.so => not found
libcourierauthsasl.so => not found
libc.so.6 => /lib64/libc.so.6 (0x0000029ae4a8f000)
/lib64/ld-linux-x86-64.so.2 (0x0000029ae4e36000)
basement lib64 # strace imaplogin 2>&1 | grep libcourierauth.so
open("/lib64/tls/x86_64/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
open("/lib64/tls/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/lib64/x86_64/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/lib64/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
file or directory)
open("/usr/lib64/tls/x86_64/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
open("/usr/lib64/tls/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
open("/usr/lib64/x86_64/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
open("/usr/lib64/libcourierauth.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
writev(2, [{"imaplogin", 9}, {": ", 2}, {"error while loading shared
libra"..., 36}, {": ", 2}, {"libcourierauth.so", 17}, {": ", 2}, {"cannot
open shared object file", 30}, {": ", 2}, {"No such file or directory", 25},
{"\n", 1}], 10imaplogin: error while loading shared libraries:
libcourierauth.so: cannot open shared object file: No such file or directory
The libraries in question are actually present, but apparently not where
imaplogin expects them to be:
basement lib64 # equery files courier-authlib | grep libcourierauth
/usr/lib64/courier-authlib/libcourierauth.so
/usr/lib64/courier-authlib/libcourierauth.so.0
/usr/lib64/courier-authlib/libcourierauthcommon.so
/usr/lib64/courier-authlib/libcourierauthcommon.so.0
/usr/lib64/courier-authlib/libcourierauthsasl.so
/usr/lib64/courier-authlib/libcourierauthsasl.so.0
/usr/lib64/courier-authlib/libcourierauthsaslclient.so
/usr/lib64/courier-authlib/libcourierauthsaslclient.so.0
I've rebuilt both packages and somehow, imaplogin is *building* fine with
the shared library in the "wrong" place, but refuses to load it at run time.
I have temporarily fixed the problem by symlinking the two missing libraries
into /lib64 but I don't see that as a good long-term solution. I'm really
stumped as to what changed to break things all of the sudden, or how to fix
it.
Is anyone else seeing this problem, or know how to make it go away?
--Mike
next reply other threads:[~2012-11-02 12:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 12:05 Mike Edenfield [this message]
2012-11-02 14:03 ` [gentoo-user] courier-imap cannot find courier-authlib Eray Aslan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00bb01cdb8f2$5d3bd0d0$17b37270$@kutulu.org' \
--to=kutulu@kutulu.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox