From owner-freebsd-questions Thu Sep 27 0:29:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.focalnetworks.net (alpha.focalnetworks.net [209.135.104.32]) by hub.freebsd.org (Postfix) with SMTP id A7B0D37B505 for ; Thu, 27 Sep 2001 00:29:25 -0700 (PDT) Received: (qmail 79025 invoked by uid 1000); 27 Sep 2001 07:29:28 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Sep 2001 07:29:28 -0000 Date: Thu, 27 Sep 2001 03:29:28 -0400 (EDT) From: project10 To: Stavros Patiniotis Cc: Subject: Re: PAM & mysql authentication In-Reply-To: <003101c14724$490bf640$3700000a@private.esc.net.au> Message-ID: <20010927032324.X78314-100000@alpha.focalnetworks.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stavros, Please set your mailer to wrap lines at 80 columns. See comments in-line. --------- Shawn Lussier On Thu, 27 Sep 2001, Stavros Patiniotis wrote: > Hello, > > I'm using qpopper compiled with pam support to test this module, but I get the following errors, when trying to login via pop. > > unable to dlopen(/usr/lib/pam_mysql.so) > unable to dlopen(/usr/lib/pam_mysql.so) > [dlerror: Shared object "libmysqlclient.so.10" not found] > [dlerror: Shared object "libmysqlclient.so.10" not found] > adding faulty module: /usr/lib/pam_mysql.so > adding faulty module: /usr/lib/pam_mysql.so > > /usr/lib/pam_mysql.so has the same permissions as the other pam_* files. Where are your mysql libraries located? Ensure that this directory is in your ld hints file, /etc/ld.so.conf and /etc/ld-elf.so.conf (on my system, mysql installed its libraries to /usr/local/lib/mysql). After that, run ldconfig(8) on the files. Adding this directory to the ldconfig hints file solved problems with applications not being able to load the libmysqlclient library. Hope this helps. As far as the scalability of this solution, I can't say for certain, however I am fairly confident that you shouldn't have problems. MySQL handles large loads fairly well, and I haven't run across any performance barriers in applications more demanding than 120 requests/second. > Stavros. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message