安装nagios插件的时候报错!

cuiyan3327 2010-06-14 02:42:44
相关的nagios支持已经安装:
httpd-2.2.0-5.1.2
gcc-4.1.0-3
gcc-4.1.1-51.fc5
glibc-2.4-4
glibc-2.4-11
glibc-common-2.4-4
glibc-common-2.4-11
gd-2.0.33-6.2
gd-devel-2.0.33-6.2
gd-devel-2.0.33-8.fc5





安装插件时的错误如下:


make all-recursive
make[1]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14'
Making all in gl
make[2]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/gl'
rm -f configmake.h-t
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr/local/nagios"'; \
echo '#define EXEC_PREFIX "/usr/local/nagios"'; \
echo '#define BINDIR "/usr/local/nagios/bin"'; \
echo '#define SBINDIR "/usr/local/nagios/sbin"'; \
echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \
echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \
echo '#define DATADIR "/usr/local/nagios/share"'; \
echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \
echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \
echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define INFODIR "/usr/local/nagios/share/info"'; \
echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define LIBDIR "/usr/local/nagios/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \
echo '#define MANDIR "/usr/local/nagios/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \
echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \
echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \
echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make all-recursive
make[3]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/gl'
make[4]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/gl'
rm -f configmake.h-t
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr/local/nagios"'; \
echo '#define EXEC_PREFIX "/usr/local/nagios"'; \
echo '#define BINDIR "/usr/local/nagios/bin"'; \
echo '#define SBINDIR "/usr/local/nagios/sbin"'; \
echo '#define LIBEXECDIR "/usr/local/nagios/libexec"'; \
echo '#define DATAROOTDIR "/usr/local/nagios/share"'; \
echo '#define DATADIR "/usr/local/nagios/share"'; \
echo '#define SYSCONFDIR "/usr/local/nagios/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/local/nagios/com"'; \
echo '#define LOCALSTATEDIR "/usr/local/nagios/var"'; \
echo '#define INCLUDEDIR "/usr/local/nagios/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define INFODIR "/usr/local/nagios/share/info"'; \
echo '#define HTMLDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define DVIDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PDFDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define PSDIR "/usr/local/nagios/share/doc/nagios-plugins"'; \
echo '#define LIBDIR "/usr/local/nagios/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/local/nagios/share/locale"'; \
echo '#define MANDIR "/usr/local/nagios/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/local/nagios/share/nagios-plugins"'; \
echo '#define PKGINCLUDEDIR "/usr/local/nagios/include/nagios-plugins"'; \
echo '#define PKGLIBDIR "/usr/local/nagios/lib/nagios-plugins"'; \
echo '#define PKGLIBEXECDIR ""'; \
} | sed '/""/d' > configmake.h-t
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make[4]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/gl'
make[3]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/gl'
make[2]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/gl'
Making all in tap
make[2]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/tap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/tap'
Making all in lib
make[2]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/lib'
Making all in .
make[3]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/lib'
Making all in tests
make[3]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/lib/tests'
make[2]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/lib'
Making all in plugins
make[2]: Entering directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"1.4.14"' -g -O2 -L. -o check_ldap check_ldap.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lldap -llber -lpthread -ldl
gcc -DNP_VERSION=\"1.4.14\" -g -O2 -o check_ldap check_ldap.o netutils.o utils.o -L/home/cuiyan/nagios/nagios-plugins-1.4.14/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lldap -llber -lpthread -ldl

...全文
337 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
cuiyan3327 2010-06-18
  • 打赏
  • 举报
回复
谢谢大家的回答,结贴给分!
winter_sui 2010-06-17
  • 打赏
  • 举报
回复
貌似有很多库没有。但为什么config的时候没有检查出来呢。
H22F 2010-06-17
  • 打赏
  • 举报
回复
check_ldap 这个插件报错.检查下本机的ldap.. openssl安装了没有
root@www:~# rpm -qa | grep openssl
openssl-devel-0.9.8e-12.el5
openssl097a-0.9.7a-9.el5_2.1
openssl-0.9.8e-12.el5
openssl-devel-0.9.8e-12.el5
openssl097a-0.9.7a-9.el5_2.1
openssl-0.9.8e-12.el5
cuiyan3327 2010-06-14
  • 打赏
  • 举报
回复
我确实make过了 不过make install还是报这个错误啊!怎么回事呢?
steptodream 2010-06-14
  • 打赏
  • 举报
回复
太多的报错 不知道什么原因

不过我看一开始有
make[2]: Nothing to be done for `all'.
这样的信息 你不会已经make过了把
直接make install试试?
cuiyan3327 2010-06-14
  • 打赏
  • 举报
回复
我的nagios已经安装成功了,就是nagios-plugins安装出错!
steptodream 2010-06-14
  • 打赏
  • 举报
回复
先安装Nagios 再安装Nagios-Plugins

http://support.nagios.com/knowledgebase/officialdocs
http://www.nagios.org/download
cuiyan3327 2010-06-14
  • 打赏
  • 举报
回复
`tls_info_cb':
(.text+0x2537): undefined reference to `SSL_state_string_long'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_info_cb':
(.text+0x2617): undefined reference to `SSL_alert_type_string_long'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_info_cb':
(.text+0x2622): undefined reference to `SSL_alert_desc_string_long'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init':
(.text+0x2701): undefined reference to `SSL_load_error_strings'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init':
(.text+0x2706): undefined reference to `SSL_library_init'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init':
(.text+0x270b): undefined reference to `X509V3_add_standard_extensions'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_int_tls_start':
(.text+0x27c8): undefined reference to `SSL_connect'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_int_tls_start':
(.text+0x2948): undefined reference to `ERR_peek_error'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_int_tls_start':
(.text+0x2980): undefined reference to `ERR_error_string'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2bec): undefined reference to `SSL_CTX_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2bfb): undefined reference to `EVP_cleanup'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2c07): undefined reference to `ERR_remove_state'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_destroy':
(.text+0x2c0c): undefined reference to `ERR_free_strings'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `sb_sasl_write':
(.text+0x165): undefined reference to `sasl_encode'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `sb_sasl_write':
(.text+0x1b2): undefined reference to `sasl_errstring'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `sb_sasl_read':
(.text+0x454): undefined reference to `sasl_decode'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `sb_sasl_read':
(.text+0x58b): undefined reference to `sasl_errstring'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `sb_sasl_setup':
(.text+0x6f7): undefined reference to `sasl_getprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_external':
(.text+0x794): undefined reference to `sasl_setprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_external':
(.text+0x7af): undefined reference to `sasl_setprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `.L139':
(.text+0x88a): undefined reference to `sasl_getprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `.L212':
(.text+0xb90): undefined reference to `sasl_setprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_close':
(.text+0xe9e): undefined reference to `sasl_dispose'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_close':
(.text+0xeb5): undefined reference to `sasl_dispose'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_init':
(.text+0x103d): undefined reference to `sasl_version'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_init':
(.text+0x10d4): undefined reference to `sasl_client_init'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_open':
(.text+0x11bd): undefined reference to `sasl_client_new'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1395): undefined reference to `sasl_dispose'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1502): undefined reference to `sasl_setprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x15d2): undefined reference to `sasl_client_start'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x175d): undefined reference to `sasl_errdetail'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x190c): undefined reference to `sasl_client_step'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x19bd): undefined reference to `sasl_errdetail'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1aa2): undefined reference to `sasl_errdetail'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1b39): undefined reference to `sasl_getprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1b8c): undefined reference to `sasl_getprop'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
(.text+0x1c2b): undefined reference to `sasl_dispose'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2352): undefined reference to `X509_NAME_entry_count'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2369): undefined reference to `X509_NAME_get_entry'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x243b): undefined reference to `X509_NAME_get_entry'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2445): undefined reference to `X509_NAME_ENTRY_get_object'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2453): undefined reference to `X509_NAME_ENTRY_get_data'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `ldap_X509dn2bv':
(.text+0x2504): undefined reference to `OBJ_obj2txt'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `.L761':
(.text+0x272a): undefined reference to `OBJ_obj2nid'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(getdn.o): In function `.L761':
(.text+0x273a): undefined reference to `OBJ_nid2sn'
collect2: ld returned 1 exit status
make[2]: *** [check_ldap] 错误 1
make[2]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14/plugins'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/cuiyan/nagios/nagios-plugins-1.4.14'
make: *** [all] 错误 2
cuiyan3327 2010-06-14
  • 打赏
  • 举报
回复
`ldap_pvt_tls_init_def_ctx':
(.text+0x1b09): undefined reference to `SSL_load_client_CA_file'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b2c): undefined reference to `SSL_add_dir_cert_subjects_to_stack'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b58): undefined reference to `SSL_CTX_set_client_CA_list'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1b65): undefined reference to `SSL_CTX_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1be1): undefined reference to `SSL_CTX_use_certificate_file'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1c58): undefined reference to `sk_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1cda): undefined reference to `SSL_CTX_check_private_key'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1d4d): undefined reference to `BIO_new_file'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1d7b): undefined reference to `PEM_read_bio_DHparams'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1da3): undefined reference to `DH_size'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1dc7): undefined reference to `BIO_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e1a): undefined reference to `SSL_CTX_set_verify'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e32): undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e54): undefined reference to `SSL_CTX_set_tmp_dh_callback'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e70): undefined reference to `SSL_CTX_get_cert_store'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1e98): undefined reference to `X509_STORE_set_flags'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1ea4): undefined reference to `sk_new_null'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1f25): undefined reference to `X509_STORE_set_flags'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `alloc_handle':
(.text+0x1f4f): undefined reference to `SSL_new'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_accept':
(.text+0x201d): undefined reference to `SSL_accept'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x21c0): undefined reference to `DH_generate_parameters'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x221b): undefined reference to `BIO_new_mem_buf'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x2249): undefined reference to `PEM_read_bio_DHparams'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_tmp_dh_cb':
(.text+0x2256): undefined reference to `BIO_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_tmp_rsa_cb':
(.text+0x22a9): undefined reference to `RSA_generate_key'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x233b): undefined reference to `X509_STORE_CTX_get_current_cert'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2345): undefined reference to `X509_STORE_CTX_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2350): undefined reference to `X509_STORE_CTX_get_error_depth'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x235b): undefined reference to `X509_get_subject_name'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2365): undefined reference to `X509_get_issuer_name'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x237f): undefined reference to `X509_NAME_oneline'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2399): undefined reference to `X509_NAME_oneline'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x241f): undefined reference to `CRYPTO_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x242b): undefined reference to `CRYPTO_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_verify_cb':
(.text+0x2487): undefined reference to `X509_verify_cert_error_string'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function
cuiyan3327 2010-06-14
  • 打赏
  • 举报
回复
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe87): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(os-ip.o): In function `ldap_connect_to_host':
(.text+0xe79): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_my_dn':
(.text+0xf9): undefined reference to `SSL_get_certificate'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_my_dn':
(.text+0x10a): undefined reference to `X509_get_subject_name'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_strength':
(.text+0x159): undefined reference to `SSL_get_current_cipher'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_strength':
(.text+0x169): undefined reference to `SSL_CIPHER_get_bits'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_close':
(.text+0x286): undefined reference to `SSL_shutdown'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `update_flags':
(.text+0x311): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_write':
(.text+0x4d5): undefined reference to `SSL_write'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_write':
(.text+0x4e6): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_read':
(.text+0x5b5): undefined reference to `SSL_read'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_read':
(.text+0x5c6): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_ctrl':
(.text+0x6cb): undefined reference to `SSL_pending'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_remove':
(.text+0x75b): undefined reference to `SSL_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_setup':
(.text+0x82a): undefined reference to `BIO_new'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `sb_tls_setup':
(.text+0x83f): undefined reference to `SSL_set_bio'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_get_cert':
(.text+0xf6d): undefined reference to `SSL_get_verify_result'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_get_cert':
(.text+0xf79): undefined reference to `SSL_get_peer_certificate'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_get_cert':
(.text+0xf8f): undefined reference to `SSL_version'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_get_cert':
(.text+0xfae): undefined reference to `ssl3_send_alert'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x10aa): undefined reference to `X509_get_ext_by_NID'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x10c4): undefined reference to `X509_get_ext'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x10cc): undefined reference to `X509V3_EXT_d2i'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1114): undefined reference to `sk_num'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1168): undefined reference to `sk_value'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1186): undefined reference to `ASN1_STRING_data'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1197): undefined reference to `ASN1_STRING_length'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1218): undefined reference to `GENERAL_NAMES_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x122b): undefined reference to `GENERAL_NAMES_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1246): undefined reference to `X509_get_subject_name'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1262): undefined reference to `X509_NAME_get_text_by_NID'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1335): undefined reference to `X509_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1376): undefined reference to `ASN1_STRING_data'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_check_hostname':
(.text+0x1387): undefined reference to `ASN1_STRING_length'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x16c3): undefined reference to `X509_get_subject_name'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x16df): undefined reference to `X509_NAME_get_text_by_NID'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x16fe): undefined reference to `X509_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_hostname':
(.text+0x1723): undefined reference to `X509_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_dn':
(.text+0x1761): undefined reference to `X509_get_subject_name'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_get_peer_dn':
(.text+0x1788): undefined reference to `X509_free'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_report_error':
(.text+0x17ee): undefined reference to `ERR_get_error_line'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `tls_report_error':
(.text+0x1806): undefined reference to `ERR_error_string_n'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x18f4): undefined reference to `SSLv23_method'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1901): undefined reference to `SSL_CTX_new'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x192b): undefined reference to `SSL_CTX_set_session_id_context'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x194a): undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x19a0): undefined reference to `SSL_CTX_load_verify_locations'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1a1a): undefined reference to `ERR_peek_error'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1a8a): undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function `ldap_pvt_tls_init_def_ctx':
(.text+0x1aee): undefined reference to `SSL_CTX_set_default_verify_paths'
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../libldap.a(tls.o): In function

18,772

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧