免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3924 | 回复: 0
打印 上一主题 下一主题

安裝pam_ldap and nss_ldap on aix5.2的問題 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-16 11:35 |只看该作者 |倒序浏览
OS:aix5.2\r\n在make時出了問題,我該怎麼做?\r\n-----------------------------\r\n已安裝\r\nlibgcc-4.2.3-1\r\ngcc-cpp-4.2.3-1\r\ngcc-4.2.3-1\r\nlibgcc-4.2.3-1\r\nlibstdc++-4.2.3-1\r\nzlib-1.2.3-4\r\nlibgomp-4.2.3-1\r\nlibstdc++-devel-4.2.3-1\r\n--------------------------\r\n環境變數\r\nAIXTHREAD_MNRATIO=1:1\r\nAIXTHREAD_SCOPE=S\r\nAUTHSTATE=compat\r\nCC=/usr/bin/gcc\r\nCCFLAGS=-I/usr/local/include\r\nCGI_DIRECTORY=/var/docsearch/cgi-bin\r\nCPPFLAGS=\'-I/usr/local/include \'\r\nDOCUMENT_DIRECTORY=/usr/docsearch/html\r\nDOCUMENT_SERVER_MACHINE_NAME=localhost\r\nDOCUMENT_SERVER_PORT=49213\r\nHOME=/\r\nIBM_HEAPDUMP=true\r\nITECONFIGCL=/etc/IMNSearch/clients\r\nITECONFIGSRV=/etc/IMNSearch\r\nITE_DOC_SEARCH_INSTANCE=search\r\nLANG=en_US\r\nLC__FASTMSG=true\r\nLDFLAGS=\'-L/usr/lib -L/usr/local/lib \'\r\nLD_LIBRARY_PATH=/usr/local/openldap/include:/usr/local/BerkeleyDB.4.6/lib\r\nLIBPATH=/usr/lib:/opt/freeware/lib:/opt/IBM/ldap/V6.1/lib\r\nLOCPATH=/usr/lib/nls/loc\r\nLOGIN=root\r\nLOGNAME=root\r\nMAIL=/usr/spool/mail/root\r\nMAILMSG=\'[YOU HAVE NEW MAIL]\'\r\nMAKE=/usr/local/bin/make\r\nNLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat\r\nODMDIR=/etc/objrepos\r\nPATH=/usr/local/bin:usr/bin:/etc:/usr/sbin:/usr/ucb://bin:/usr/bin/X11:/sbin:.:/usr/lpp/mmfs/bin\r\nPS1=\'AUBH52:[root]$PWD>#\'\r\nPWD=/worktmp/openldap\r\nSHELL=/usr/bin/ksh\r\nSPINLOOPTIME=500\r\nTERM=xterm\r\nTZ=CST6CDT\r\nUSER=root\r\n_=export\r\n--------------------------------------\r\n執行configure\r\nloading cache ./config.cache\r\nchecking host system type... powerpc-ibm-aix5.2.0.0\r\nchecking target system type... powerpc-ibm-aix5.2.0.0\r\nchecking build system type... powerpc-ibm-aix5.2.0.0\r\nchecking for a BSD compatible install... ./install-sh -c\r\nchecking whether build environment is sane... yes\r\nchecking whether /usr/local/bin/make sets ${MAKE}... (cached) yes\r\nchecking for working aclocal... missing\r\nchecking for working autoconf... missing\r\nchecking for working automake... missing\r\nchecking for working autoheader... missing\r\nchecking for working makeinfo... found\r\nchecking for gcc... (cached) gcc\r\nchecking whether the C compiler (gcc  -L/usr/lib -L/usr/local/lib ) works... yes\r\nchecking whether the C compiler (gcc  -L/usr/lib -L/usr/local/lib ) is a cross-compiler... no\r\nchecking whether we are using GNU C... (cached) yes\r\nchecking whether gcc accepts -g... (cached) yes\r\nchecking how to run the C preprocessor... (cached) gcc -E\r\nchecking for a BSD compatible install... ./install-sh -c\r\nchecking for security/pam_appl.h... (cached) yes\r\nchecking for security/pam_misc.h... (cached) no\r\nchecking for security/pam_modules.h... (cached) yes\r\nchecking for pam/pam_appl.h... (cached) no\r\nchecking for pam/pam_misc.h... (cached) no\r\nchecking for pam/pam_modules.h... (cached) no\r\nchecking for des.h... (cached) no\r\nchecking for crypt.h... (cached) yes\r\nchecking for lber.h... (cached) yes\r\nchecking for ldap.h... (cached) yes\r\nchecking for ldap_ssl.h... (cached) no\r\nchecking for sasl/sasl.h... (cached) no\r\nchecking for sasl.h... (cached) no\r\nchecking for main in -ldl... (cached) yes\r\nchecking for main in -lpam... (cached) yes\r\nchecking for main in -lresolv... (cached) no\r\nchecking for main in -lcrypt... (cached) yes\r\nchecking for main in -lnsl... (cached) yes\r\nchecking for gethostbyname... (cached) yes\r\nchecking for main in -llber... (cached) no\r\nchecking for main in -lldap... (cached) yes\r\nchecking for ldap_init... (cached) yes\r\nchecking for ldap_get_lderrno... (cached) yes\r\nchecking for ldap_set_lderrno... (cached) yes\r\nchecking for ldap_parse_result... (cached) yes\r\nchecking for ldap_memfree... (cached) yes\r\nchecking for ldap_controls_free... (cached) yes\r\nchecking for ldap_set_option... (cached) yes\r\nchecking for ldap_get_option... (cached) yes\r\nchecking for ldapssl_init... (cached) no\r\nchecking for ldap_start_tls_s... (cached) no\r\nchecking for ldap_pvt_tls_set_option... (cached) no\r\nchecking for ldap_initialize... (cached) no\r\nchecking for ldap_sasl_bind... (cached) yes\r\nchecking for ldap_sasl_interactive_bind_s... (cached) no\r\nchecking for gethostbyname_r... (cached) yes\r\nchecking whether gethostbyname_r takes 6 arguments... (cached) 3\r\nchecking for ldap_set_rebind_proc... (cached) yes\r\nchecking whether ldap_set_rebind_proc takes 3 arguments... (cached) 3\r\ncreating ./config.status\r\ncreating Makefile\r\ncreating config.h\r\nconfig.h is unchanged\r\n-------------------------------------\r\n執行make\r\ngcc -DHAVE_CONFIG_H   -I/usr/local/include  -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_THREAD_SAFE  -g -O2 -Wall -fPIC -c pam_ldap.c\r\npam_ldap.c: In function \'_connect_anonymously\':\r\npam_ldap.c:1548: warning: implicit declaration of function \'ldap_get_lderrno\'\r\npam_ldap.c: In function \'_service_ok\':\r\npam_ldap.c:2358: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c: In function \'_get_user_info\':\r\npam_ldap.c:2731: warning: pointer targets in passing argument 4 of \'_get_long_integer_value\' differ in signedness\r\npam_ldap.c: In function \'_pam_ldap_get_session\':\r\npam_ldap.c:2746: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:2746: warning: passing argument 3 of \'pam_get_data\' from incompatible pointer type\r\npam_ldap.c: In function \'_update_authtok\':\r\npam_ldap.c:3179: warning: implicit declaration of function \'ldap_set_lderrno\'\r\npam_ldap.c: In function \'_get_authtok\':\r\npam_ldap.c:3221: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c: In function \'pam_sm_authenticate\':\r\npam_ldap.c:3317: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3345: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c: In function \'pam_sm_open_session\':\r\npam_ldap.c:3387: warning: passing argument 3 of \'pam_get_data\' from incompatible pointer type\r\npam_ldap.c: In function \'pam_sm_chauthtok\':\r\npam_ldap.c:3444: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3453: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3453: warning: passing argument 3 of \'pam_get_data\' from incompatible pointer type\r\npam_ldap.c:3464: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3464: warning: passing argument 3 of \'pam_get_data\' from incompatible pointer type\r\npam_ldap.c:3501: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3606: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3606: warning: passing argument 3 of \'pam_get_data\' from incompatible pointer type\r\npam_ldap.c:3621: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3766: warning: format \'%ld\' expects type \'long int\', but argument 4 has type \'int\'\r\npam_ldap.c: In function \'pam_sm_acct_mgmt\':\r\npam_ldap.c:3838: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3847: warning: dereferencing type-punned pointer will break strict-aliasing rules\r\npam_ldap.c:3847: warning: passing argument 3 of \'pam_get_data\' from incompatible pointer type\r\ngcc -DHAVE_CONFIG_H   -I/usr/local/include  -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_THREAD_SAFE  -g -O2 -Wall -fPIC -c md5.c\r\n/usr/ccs/bin/ld  -o pam_ldap.so   -bM:SRE -bnoentry -bE:./exports.aix -brtl -lc pam_ldap.o md5.o  -lldap -lnsl -lcrypt -lpam -ldl \r\nld: 0711-317 ERROR: Undefined symbol: .ber_set_option\r\nld: 0711-317 ERROR: Undefined symbol: ber_pvt_opt_on\r\nld: 0711-317 ERROR: Undefined symbol: .ldap_start_tls_s\r\nld: 0711-317 ERROR: Undefined symbol: .ber_memfree\r\nld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.\r\nmake: *** [pam_ldap.so] Error 8\r\n---------------------------------------
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP