* [gentoo-user] courier-imap cannot find courier-authlib
@ 2012-11-02 12:05 Mike Edenfield
2012-11-02 14:03 ` Eray Aslan
0 siblings, 1 reply; 2+ messages in thread
From: Mike Edenfield @ 2012-11-02 12:05 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] courier-imap cannot find courier-authlib
2012-11-02 12:05 [gentoo-user] courier-imap cannot find courier-authlib Mike Edenfield
@ 2012-11-02 14:03 ` Eray Aslan
0 siblings, 0 replies; 2+ messages in thread
From: Eray Aslan @ 2012-11-02 14:03 UTC (permalink / raw
To: gentoo-user
On Fri, Nov 02, 2012 at 08:05:34AM -0400, Mike Edenfield wrote:
> Is anyone else seeing this problem, or know how to make it go away?
Should be fixed in =courier-authlib-0.65.0-r2. In the meantime, try -r1
with the static-libs USE flag.
--
Eray
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-02 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-02 12:05 [gentoo-user] courier-imap cannot find courier-authlib Mike Edenfield
2012-11-02 14:03 ` Eray Aslan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox