Hi list!

I hope you can help me out on this one - authlib is really giving me a hard
time.
I want to use authlib with authshadow and authmysql.

But authmysql just doesn't work. When starting authdaemond after having set
DEBUG_LOGIN to 1 in /usr/local/etc/authlib/authdaemonrc I get the following:
shell> /usr/local/libexec/courier-authlib/authdaemond
INFO: modules="authshadow authmysql", daemons=5
INFO: Installing libauthshadow
INFO: Installation complete: authshadow
INFO: Installing libauthmysql
INFO: file not found

I'm using the newest stable MySQL 4.1.10a with authlib 0.55. Is that already
supported?

While running ./configure (for exact command see below) during installation
it reported:
checking for mysql_config... no
checking for mysql_connect... no
checking for mysql_real_connect... yes


/usr/local/lib/courier-authlib looks like this:
drwxr-xr-x root root .
drwxr-xr-x root root ..
-rw-r--r-- root root libauthmysql.a
-rwxr-xr-x root root libauthmysql.la
lrwxrwxrwx root root libauthmysql.so -> libauthmysql.so.0.0.0
lrwxrwxrwx root root libauthmysql.so.0 -> libauthmysql.so.0.0.0
-rwxr-xr-x root root libauthmysql.so.0.0.0
-rw-r--r-- root root libauthshadow.a
-rwxr-xr-x root root libauthshadow.la
lrwxrwxrwx root root libauthshadow.so -> libauthshadow.so.0.0.0
lrwxrwxrwx root root libauthshadow.so.0 -> libauthshadow.so.0.0.0
-rwxr-xr-x root root libauthshadow.so.0.0.0
-rw-r--r-- root root libcourierauth.a
-rwxr-xr-x root root libcourierauth.la
lrwxrwxrwx root root libcourierauth.so -> libcourierauth.so.0.0.0
lrwxrwxrwx root root libcourierauth.so.0 -> libcourierauth.so.0.0.0
-rwxr-xr-x root root libcourierauth.so.0.0.0
-rw-r--r-- root root libcourierauthcommon.a
-rwxr-xr-x root root libcourierauthcommon.la
lrwxrwxrwx root root libcourierauthcommon.so ->
libcourierauthcommon.so.0.0.0
lrwxrwxrwx root root libcourierauthcommon.so.0 ->
libcourierauthcommon.so.0.0.0
-rwxr-xr-x root root libcourierauthcommon.so.0.0.0
-rw-r--r-- root root libcourierauthsasl.a
-rwxr-xr-x root root libcourierauthsasl.la
lrwxrwxrwx root root libcourierauthsasl.so -> libcourierauthsasl.so.0.0.0
lrwxrwxrwx root root libcourierauthsasl.so.0 -> libcourierauthsasl.so.0.0.0
-rwxr-xr-x root root libcourierauthsasl.so.0.0.0
-rw-r--r-- root root libcourierauthsaslclient.a
-rwxr-xr-x root root libcourierauthsaslclient.la
lrwxrwxrwx root root libcourierauthsaslclient.so ->
libcourierauthsaslclient.so.0.0.0
lrwxrwxrwx root root libcourierauthsaslclient.so.0 ->
libcourierauthsaslclient.so.0.0.0
-rwxr-xr-x root root libcourierauthsaslclient.so.0.0.0


MySQL was compiled with:
shell> tar zxvf mysql-4.1.10a.tar.gz
shell> cd mysql-4.1.10a
shell> ./configure \
--prefix=/usr/local/mysql \
--localstatedir=/data/mysql \
--enable-thread-safe-client \
--with-extra-charsets=complex
shell> make
shell> make install

authlib was compiled with:
shell> ./configure \
--with-authshadow \
--with-authmysql \
--without-authpwd \
--without-authpam \
--without-authuserdb \
--without-authvchkpw \
--without-authpgsql \
--without-authldap \
--without-authcustom \
--with-mysql-libs=/usr/local/mysql/lib/mysql \
--with-mysql-includes=/usr/local/mysql/include/mysql
shell> make
shell> make install
shell> make install-migrate
shell> make install-configure
shell> make install-man


contents of /usr/local/mysql/lib/mysql:
drwxr-sr-x root mysql .
drwxr-sr-x root mysql ..
-rw-r--r-- root mysql libdbug.a
-rw-r--r-- root mysql libheap.a
-rw-r--r-- root mysql libmerge.a
-rw-r--r-- root mysql libmyisam.a
-rw-r--r-- root mysql libmyisammrg.a
-rw-r--r-- root mysql libmysqlclient.a
-rwxr-xr-x root mysql libmysqlclient.la
lrwxrwxrwx root mysql libmysqlclient.so -> libmysqlclient.so.14.0.0
lrwxrwxrwx root mysql libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
-rwxr-xr-x root mysql libmysqlclient.so.14.0.0
-rw-r--r-- root mysql libmysqlclient_r.a
-rwxr-xr-x root mysql libmysqlclient_r.la
lrwxrwxrwx root mysql libmysqlclient_r.so -> libmysqlclient_r.so.14.0.0
lrwxrwxrwx root mysql libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0
-rwxr-xr-x root mysql libmysqlclient_r.so.14.0.0
-rw-r--r-- root mysql libmystrings.a
-rw-r--r-- root mysql libmysys.a
-rw-r--r-- root mysql libnisam.a
-rw-r--r-- root mysql libvio.a

contents of /usr/local/mysql/include/mysql:
drwxr-sr-x root mysql .
drwxr-sr-x root mysql ..
-rw-r--r-- root mysql errmsg.h
-rw-r--r-- root mysql keycache.h
-rw-r--r-- root mysql m_ctype.h
-rw-r--r-- root mysql m_string.h
-rw-r--r-- root mysql my_alloc.h
-rw-r--r-- root mysql my_config.h
-rw-r--r-- root mysql my_dbug.h
-rw-r--r-- root mysql my_dir.h
-rw-r--r-- root mysql my_getopt.h
-rw-r--r-- root mysql my_global.h
-rw-r--r-- root mysql my_list.h
-rw-r--r-- root mysql my_net.h
-rw-r--r-- root mysql my_no_pthread.h
-rw-r--r-- root mysql my_pthread.h
-rw-r--r-- root mysql my_semaphore.h
-rw-r--r-- root mysql my_sys.h
-rw-r--r-- root mysql my_xml.h
-rw-r--r-- root mysql mysql.h
-rw-r--r-- root mysql mysql_com.h
-rw-r--r-- root mysql mysql_embed.h
-rw-r--r-- root mysql mysql_time.h
-rw-r--r-- root mysql mysql_version.h
-rw-r--r-- root mysql mysqld_error.h
-rw-r--r-- root mysql raid.h
-rw-r--r-- root mysql readline.h
-rw-r--r-- root mysql sql_common.h
-rw-r--r-- root mysql sql_state.h
-rw-r--r-- root mysql sslopt-case.h
-rw-r--r-- root mysql sslopt-longopts.h
-rw-r--r-- root mysql sslopt-vars.h
-rw-r--r-- root mysql typelib.h


thx,
Lukas



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to