From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5937A138010 for ; Fri, 2 Nov 2012 12:07:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AE6021C0A3; Fri, 2 Nov 2012 12:07:24 +0000 (UTC) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by pigeon.gentoo.org (Postfix) with ESMTP id EB05121C08B for ; Fri, 2 Nov 2012 12:05:34 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=OOOlLFmB c=1 sm=0 a=YiB23sJcwfFEeGB7MePNFg==:17 a=HGOPLk93NxAA:10 a=1Tq9n4pY2E0A:10 a=6WvLBrxrMboA:10 a=wPDyFdB5xvgA:10 a=LfqMiUf45yUA:10 a=kj9zAlcOel0A:10 a=I_vGZgfvAAAA:8 a=Ys1O5bTkVDIA:10 a=gA3esveQDTDNSxGV2SsA:9 a=CjuIK1q_8ugA:10 a=YiB23sJcwfFEeGB7MePNFg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 142.196.222.217 Received: from [142.196.222.217] ([142.196.222.217:58095] helo=basement.kutulu.org) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 8A/5C-21565-E07B3905; Fri, 02 Nov 2012 12:05:34 +0000 Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id BDF0211200C for ; Fri, 2 Nov 2012 08:05:33 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CM6vA-oYIH9V for ; Fri, 2 Nov 2012 08:05:32 -0400 (EDT) Received: from PORPOISE (PORPOISE.kutulu.org [192.168.69.91]) by basement.kutulu.org (Postfix) with ESMTPSA id 9CE7311200B for ; Fri, 2 Nov 2012 08:05:32 -0400 (EDT) From: "Mike Edenfield" To: Subject: [gentoo-user] courier-imap cannot find courier-authlib Date: Fri, 2 Nov 2012 08:05:34 -0400 Message-ID: <00bb01cdb8f2$5d3bd0d0$17b37270$@kutulu.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac248O3tylL0aU8mTO61/nOLY1W+eg== Content-Language: en-us X-Archives-Salt: 15886bd1-e494-415b-9d8f-a1ac36857879 X-Archives-Hash: 87be539dc5fab4cdbe0456e7ed7f574a 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