courier-authlib problems loading libmysqlclient.so.14 and libcourierauthcommon.so.0


 
Thread Tools Search this Thread
Operating Systems Linux courier-authlib problems loading libmysqlclient.so.14 and libcourierauthcommon.so.0
# 1  
Old 08-29-2005
courier-authlib problems loading libmysqlclient.so.14 and libcourierauthcommon.so.0

I am having problems with mysql authentication using courier-authlib (authdaemond). This is getting really frustrating. The error I am getting is:

Aug 28 17:48:48 www authdaemond: modules="authmysql", daemons=5
Aug 28 17:48:48 www authdaemond: Installing libauthmysql
Aug 28 17:48:48 www authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory

I then did a ldd on /usr/lib/courier-authlib/libauthmysql.so.0 (this is the only libauthmysql.so.0 on the system).

It gave me the error that libmysqlclient.so.14 and libcourierauthcommon.so.0 could not be found. I searched the filesystem for these libraries and found them. I did an ldd on each of them and they loaded correctly. I also made sure that these libraries are on the ld.so.config as well as checking to make sure they are listed on a ldconfig -v.

It appears that the libraries are there and will load properly, but -- for some reason -- the library libauthmysql.so.0 can not find them. This is really weird -- they are listed in the ld cache (as shown by the ldconfig -v) but the library libauthmysql.so.0 does not see them.....

Any ideas?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Excution Problems with loading huge data content and convert it

Hi, I got long list of referred file content: CGTGCFTGCGTFREDG PEOGDKGJDGKLJGKL DFGDSFIODUFIODSUF FSDOFJSODIFJSIODFJ DSFSDFDFSDOFJFOSF SDFOSDJFOJFPPIPIOP . . . Input file content: >sample_1 SDFDSKLFKDSLSDFSDFDFGDSFIODUFIODSUFSDDSFDSSDFDSFAS (14 Replies)
Discussion started by: patrick87
14 Replies

2. UNIX for Dummies Questions & Answers

Failed depencies: libmysqlclient.so.16 is needed

I'm trying to install something on my server that requires mysqlclient, but looking at my RPM package list I have it ("MySQL-client-5.0.91-0.glibc23"). Doing a locate on libmysqlclient gives me this: For some reason it looks like I'm missing libmysqlclient.so.16. Does anyone know why this... (6 Replies)
Discussion started by: fisher39
6 Replies

3. UNIX and Linux Applications

How add vacation on POSTFIX+AUTHLIB (without mysql DB)?

Hello ! I want to add vacation on postfix + Authlib (authmodulelist="authuserdb") The user is in the /etc/courier/userdb file (no mysql) i dont find example on net (only postfix alone or with mysql for) for install vacation for my user. i've not user in /etc/passwd and /home I dont... (0 Replies)
Discussion started by: safsound
0 Replies

4. Ubuntu

Courier-IMap

I am running postfix, courier-imap and Atmail Webmail client. I can telnet to port 143 I can send mail from the command line using the mail command to the user. When I try to login through webmail using the atmail client nothing happens. I check the the maillog and it shows the localhost address... (0 Replies)
Discussion started by: rbizzell
0 Replies

5. UNIX and Linux Applications

Courier (authlib) and vacation

Hello, I want to use vacation autoreply with courier userdb Users is in "/etc/courier/userdb" I search on forum but dont find anything about (only found for local and mysql user) How to configure an user to use vacation (or other stuff) to make autoreply with userdb ? Plateform :... (0 Replies)
Discussion started by: safsound
0 Replies

6. Ubuntu

Courier-IMAP

I am running Unbuntu Server. I have installed postfix and courie-imap. I cant seem to be able to login using imap. Login failed. I can telnet using imap. I have a valid user. Authdaemonrc is running using authpam which is the default. I am running atmail webclient. What else do I need to check? (0 Replies)
Discussion started by: rbizzell
0 Replies

7. Shell Programming and Scripting

Function loading in a shell scripting like class loading in java

Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ... thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
1 Replies

8. UNIX for Advanced & Expert Users

Courier-IMAP 4.1

I am running Freebsd 6.1, Postfix 2.2, and Courier-IMAP 4.1 I can telnet to port 143 I can't connect to IMAP server using microsoft outlook or any client. The authdaemon is running and working correctly I did netstat -an | grep -i list and it shows port 143 bound to the localhost 127.0.0.1. I can... (1 Reply)
Discussion started by: rbizzell
1 Replies

9. BSD

Courier-IMAP 4.1

I will be using postfix and courier-imap version 4.1. I never configured courier-imap. What configurations files do I have to configure and how do I start courier-imap. There isn't a authdaemonrc file in the courier-imap directorry. The files that are listed are imapd imap-ssl.dist... (0 Replies)
Discussion started by: rbizzell
0 Replies
Login or Register to Ask a Question
AUTH_GETOPTION(3)					      Double Precision, Inc.						 AUTH_GETOPTION(3)

NAME
auth_getoption - Search an option string SYNOPSIS
#include <courierauth.h> char *value=auth_getoption(const char *options, const char *keyword); DESCRIPTION
This is a convenience function for parsing account options, as received by the callback function invoked by auth_generic(3)[1], auth_login(3)[2], auth_getuserinfo(3)[3], and auth_passwd(3)[4]. options is the options field from authinfo (which can be NULL). As described in auth_generic(3)[1] (and the others), it is a comma-separated list of "keyword=value" pairs. auth_getoption searches options for a keyword. RETURNS
If options does not have the keyword, auth_getoption returns NULL with errno set to ENOENT. Otherwise auth_getoption allocates a buffer for value, and returns it. It is the caller's responsibility to free(3) the returned buffer. auth_getoption returns NULL with errno set to ENOMEM if it cannot allocate a buffer. SEE ALSO
authlib(3)[5], auth_generic(3)[1], auth_login(3)[2], auth_getuserinfo(3)[3]. NOTES
1. auth_generic(3) auth_generic.html 2. auth_login(3) auth_login.html 3. auth_getuserinfo(3) auth_getuserinfo.html 4. auth_passwd(3) auth_passwd.html 5. authlib(3) authlib.html Double Precision, Inc. 08/23/2008 AUTH_GETOPTION(3)