Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439202 - net-mail/courier-imap-4.8.0 with courier-authlib-0.65.0-r1 - imapd-ssl: /usr/sbin/imaplogin: error while loading shared libraries: libcourierauth.so: cannot open shared object file: No such file or directory
Summary: net-mail/courier-imap-4.8.0 with courier-authlib-0.65.0-r1 - imapd-ssl: /usr/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 01:36 UTC by Yuriy Dmitriev
Modified: 2012-11-03 09:27 UTC (History)
2 users (show)

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 Yuriy Dmitriev 2012-10-22 01:36:51 UTC
net-mail/courier-imap-4.8.0 not working with net-libs/courier-authlib-0.65.0-r1 


in system log I have:
------------------------------
imapd-ssl: /usr/sbin/imaplogin: error while loading shared li
braries: libcourierauth.so: cannot open shared object file: No such file or dire
ctory
--------------------------------
I run
  strace -f 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


How to fix:

create file 06courier-authlib.conf in /etc/ld.so.conf.d and run ldconfig.
 cat 06courier-authlib.conf 
/usr/lib/courier-authlib
Comment 1 Eray Aslan gentoo-dev 2012-11-02 18:54:48 UTC
Should be fixed with courier-authlib-0.65-r2.  Please let me know if you still have a problem.  Thank you.
Comment 2 Yuriy Dmitriev 2012-11-03 09:27:25 UTC
(In reply to comment #1)
> Should be fixed with courier-authlib-0.65-r2.  Please let me know if you
> still have a problem.  Thank you.

Thanks a lot) I wil try test at next planned system update)

With best whishes - YD.