Re: [courier-users] trouble running authdaemond with authmysql - file not found ?
Brought to you by:
mrsam
From: <mi...@bi...> - 2014-04-14 17:09:57
|
Didn't see my message bounce back so can't reply in context, but I found my "solution". I don't know why, but the auth-mysql libraries were not copied to the proper location even though they seem to have been built. I removed my build folders and reproduced, so I copied the files manually. Here was my configure: ./configure \ --prefix=/usr/local/courier \ --without-authpam \ --without-authldap \ --without-authpwd \ --with-authmysql \ --with-mysql-libs=/usr/lib64/mysql \ --with-mysql-includes=/usr/include/mysql \ --with-authmysqlrc=/usr/local/etc/authlib/authmysqlrc \ --with-authdaemonrc=/usr/local/etc/authlib/authdaemonrc \ --without-authpgsql \ --without-authshadow \ --without-authuserdb \ --without-authvchkpw \ --without-authcram \ --without-authcustom \ --without-authpipq \ --enable-webpass=no \ --without-ipv6 \ --enable-mimetypes=/dev/null cd courier-authlib-0.66.1 cp libauthmysql.la /usr/local/lib/courier-authlib/ cp .libs/libauthmysql.a /usr/local/lib/courier-authlib/ cp .libs/libauthmysql.so /usr/local/l ib/courier-authlib/ chmod 644 /usr/local/lib/courier-authlib/libauthmysql.a chmod 755 /usr/local/lib/courier-authlib/libauthmysql.la chmod 755 /usr/local/lib/courier-authlib/libauthmysql.so Now authdaemond starts without the file not found - hope this helps someone else - it seems that the missing file error refers to the libauthmysql files. Cheers :) m From: Mitch (BitBlock) Sent: April 14, 2014 6:32 AM To: 'cou...@li...' Subject: trouble running authdaemond with authmysql - file not found ? I've run courier before - long time fan :) - and once I sorted out dependencies I had no troubles. Not having luck this time. I'm sure it's something I've missed, but the error isn't very specific "file not found" which I presume means the auth library - it but it seems to be there. I've found other posts - but not specific to my case (I spelled authmysql right I think ;-) ) I've been trying to update my build : uname -a Linux couriertest.bitblock.net 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux ./configure --prefix=/usr/local/courier --without-authpam --without-authldap --without-authpwd --with-authmysql --with-mysql-libs=/usr/lib64/mysql/libmysqlclient --without-authpgsql --without-authshadow --without-authuserdb --without-authvchkpw --without-authcram --enable-webpass=no --without-ipv6 --enable-mimetypes=/dev/null --with-authmysqlrc=/usr/local/etc/authlib/authmysqlrc /usr/local/libexec/courier-authlib/authdaemond INFO: modules="authmysql", daemons=5 INFO: Installing libauthmysql INFO: file not found find / -name "libauthmysql*" /usr/local/courier/lib/courier-authlib/libauthmysql.la /usr/local/courier/lib/courier-authlib/libauthmysql.a /usr/local/courier/lib/courier-authlib/libauthmysql.so I followed the proper procedure I think - and didn't see any errors during build or install. Any idea what I might have missed? I built as a normal user, escalated to install: ls -l /usr/local/courier/lib/courier-authlib/ total 1244 -rw-r--r--. 1 root root 23914 Apr 14 06:15 libauthcustom.a -rwxr-xr-x. 1 root root 1099 Apr 14 06:15 libauthcustom.la -rwxr-xr-x. 1 root root 17221 Apr 14 06:15 libauthcustom.so -rw-r--r--. 1 root root 97876 Apr 14 06:15 libauthmysql.a -rwxr-xr-x. 1 root root 1162 Apr 14 06:15 libauthmysql.la -rwxr-xr-x. 1 root root 61856 Apr 14 06:15 libauthmysql.so -rw-r--r--. 1 root root 37048 Apr 14 06:15 libauthpipe.a -rwxr-xr-x. 1 root root 1085 Apr 14 06:15 libauthpipe.la -rwxr-xr-x. 1 root root 26759 Apr 14 06:15 libauthpipe.so -rw-r--r--. 1 root root 355282 Apr 14 06:15 libcourierauth.a -rw-r--r--. 1 root root 139164 Apr 14 06:15 libcourierauthcommon.a -rwxr-xr-x. 1 root root 1084 Apr 14 06:15 libcourierauthcommon.la -rwxr-xr-x. 1 root root 75116 Apr 14 06:15 libcourierauthcommon.so -rwxr-xr-x. 1 root root 985 Apr 14 06:15 libcourierauth.la -rw-r--r--. 1 root root 63194 Apr 14 06:15 libcourierauthsasl.a -rw-r--r--. 1 root root 81052 Apr 14 06:15 libcourierauthsaslclient.a -rwxr-xr-x. 1 root root 1112 Apr 14 06:15 libcourierauthsaslclient.la -rwxr-xr-x. 1 root root 37220 Apr 14 06:15 libcourierauthsaslclient.so -rwxr-xr-x. 1 root root 1133 Apr 14 06:15 libcourierauthsasl.la -rwxr-xr-x. 1 root root 35181 Apr 14 06:15 libcourierauthsasl.so -rwxr-xr-x. 1 root root 167419 Apr 14 06:15 libcourierauth.so Thank you!! Mitch |