- 论坛徽章:
- 0
|
ng for gethostbyname_r... yes
checking if gethostbyname_r() is part of glibc... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking if "/usr/local/mysql" is a mysql_config script... no
checking mysql_config availability in /usr/local/mysql/bin... yes
checking for mysql_real_query... yes
checking for mysql_real_escape_string... yes
checking for make_scrambled_password_323... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for openssl_CFLAGS... -I/usr/kerberos/include
checking for openssl_LIBS... -L/usr/kerberos/lib -lssl -lcrypto -lresolv -lgssap
i_krb5 -lkrb5 -lk5crypto -lcom_err -ldl -lz
checking pam_appl.h usability... yes
checking pam_appl.h presence... yes
checking for pam_appl.h... yes
checking pam_modules.h usability... yes
checking PAM_CONV_AGAIN availability... yes
checking PAM_INCOMPLETE availability... yes
checking PAM_NEW_AUTHTOK_REQD availability... yes
checking PAM_AUTHTOK_RECOVERY_ERR availability... no
checking PAM_AUTHTOK_RECOVER_ERR availability... yes
checking if the second argument of pam_get_user() takes const pointer... yes
checking if the third argument of pam_get_data() takes const pointer... yes
checking if the third argument of pam_get_item() takes const pointer... yes
checking if the second argument of pam_conv.conv() takes const pointer... yes
checking if md5.h is derived from Cyrus SASL Version 1... yes
checking if md5.h is Solaris's... no
checking md5.h usability... no
checking md5.h presence... yes
configure: WARNING: md5.h: present but cannot be compiled
configure: WARNING: md5.h: check for missing prerequisite headers?
configure: WARNING: md5.h: see the Autoconf documentation
configure: WARNING: md5.h: section " resent But Cannot Be Compiled"
configure: WARNING: md5.h: proceeding with the preprocessor's result
configure: WARNING: md5.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to the pam_mysql lists. ##
configure: WARNING: ## ------------------------------------ ##
checking for md5.h... yes
checking for MD5Data... no
checking for crypt in -lcrypt... yes
checking for crypt... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pam_mysql.spec
config.status: creating config.h
config.status: executing default-1 commands
[root@lidayu pam_mysql-0.7RC1]# make
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/
security -I/usr/include -g -O2 -g -O2 -I/usr/local/mysql/include/mysql -I/usr/
kerberos/include -c pam_mysql.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -
g -O2 -I/usr/local/mysql/include/mysql -I/usr/kerberos/include -c pam_mysql.c -
fPIC -DPIC -o .libs/pam_mysql.o
/bin/sh ./libtool --mode=link gcc -g -O2 -I/usr/local/mysql/include/mysql -I/us
r/kerberos/include -o pam_mysql.la -rpath /usr/lib/security -module -avoid-
version pam_mysql.lo -rdynamic -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -
lcrypt -lnsl -lm -L/usr/kerberos/lib -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb
5 -lk5crypto -lcom_err -ldl -lz -lcrypt
gcc -shared .libs/pam_mysql.o -Wl,--rpath -Wl,/usr/local/mysql/lib/mysql -Wl,-
-rpath -Wl,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql /usr/local/my
sql/lib/mysql/libmysqlclient.so -lnsl -lm -L/usr/kerberos/lib -lssl -lcrypto -lr
esolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl /usr/local/mysql/lib/mysql/
libz.a -lcrypt -Wl,-soname -Wl,pam_mysql.so -o .libs/pam_mysql.so
creating pam_mysql.la
(cd .libs && rm -f pam_mysql.la && ln -s ../pam_mysql.la pam_mysql.la)
[root@lidayu pam_mysql-0.7RC1]# make install
make[1]: Entering directory `/home/dayu/pam_mysql-0.7RC1'
/bin/sh ./mkinstalldirs /usr/lib/security
/bin/sh ./libtool --mode=install /usr/bin/install -c pam_mysql.la /usr/lib/secu
rity/pam_mysql.la
/usr/bin/install -c .libs/pam_mysql.so /usr/lib/security/pam_mysql.so
/usr/bin/install -c .libs/pam_mysql.lai /usr/lib/security/pam_mysql.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/security
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/security
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so( manual pages.
----------------------------------------------------------------------
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory `/home/dayu/pam_mysql-0.7RC1'
我是在安装PAM_MYSQL,经过上面编译后在/usr/lib/security下生成了目标文件pam_mysql.sO 我复制到了/lib/security中
并配置好了vsftpd.conf文件,可是不能通过验证,提示密码错误,在数据库中都配置好了虚拟用户数据,
并且/etc/pam.d/ftp也设置好了,现在我怀疑是不是pam_mysql这个模块没有编译好,大家帮我看看 |
|