在Linux系统中安装apache,执行make命令报错
出现如下错误,请高手指点啊!急急急啊![root@whwlhttpd-2.2.22]#make···/opt/httpd-2.2.22/srclib/apr/libtoo...
出现如下错误,请高手指点啊!急急急啊!
[root@whwl httpd-2.2.22]# make
···
/opt/httpd-2.2.22/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -L/opt/httpd-2.2.22/lib -L/usr/kerberos/lib -L/usr/kerberos/lib64 -L/usr/lib64 -L/lib64 -o ab ab.lo -lm /opt/httpd-2.2.22/srclib/pcre/libpcre.la /opt/httpd-2.2.22/srclib/apr-util/libaprutil-1.la -lexpat /opt/httpd-2.2.22/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
.libs/ab.o(.text+0xd1): In function `ssl_print_cb':
/opt/httpd-2.2.22/support/ab.c:409: undefined reference to `BIO_get_callback_arg'
.libs/ab.o(.text+0x20e6): In function `start_connect':
/opt/httpd-2.2.22/support/ab.c:1204: undefined reference to `BIO_set_callback'
.libs/ab.o(.text+0x20f5):/opt/httpd-2.2.22/support/ab.c:1205: undefined reference to `BIO_set_callback_arg'
.libs/ab.o(.text+0x466d): In function `main':
/opt/httpd-2.2.22/support/ab.c:2286: undefined reference to `SSL_CTX_set_info_callback'
collect2: ld returned 1 exit status
make[2]: *** [ab] 错误 1
make[2]: Leaving directory `/opt/httpd-2.2.22/support'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/opt/httpd-2.2.22/support'
make: *** [all-recursive] 错误 1 展开
[root@whwl httpd-2.2.22]# make
···
/opt/httpd-2.2.22/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -L/opt/httpd-2.2.22/lib -L/usr/kerberos/lib -L/usr/kerberos/lib64 -L/usr/lib64 -L/lib64 -o ab ab.lo -lm /opt/httpd-2.2.22/srclib/pcre/libpcre.la /opt/httpd-2.2.22/srclib/apr-util/libaprutil-1.la -lexpat /opt/httpd-2.2.22/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
.libs/ab.o(.text+0xd1): In function `ssl_print_cb':
/opt/httpd-2.2.22/support/ab.c:409: undefined reference to `BIO_get_callback_arg'
.libs/ab.o(.text+0x20e6): In function `start_connect':
/opt/httpd-2.2.22/support/ab.c:1204: undefined reference to `BIO_set_callback'
.libs/ab.o(.text+0x20f5):/opt/httpd-2.2.22/support/ab.c:1205: undefined reference to `BIO_set_callback_arg'
.libs/ab.o(.text+0x466d): In function `main':
/opt/httpd-2.2.22/support/ab.c:2286: undefined reference to `SSL_CTX_set_info_callback'
collect2: ld returned 1 exit status
make[2]: *** [ab] 错误 1
make[2]: Leaving directory `/opt/httpd-2.2.22/support'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/opt/httpd-2.2.22/support'
make: *** [all-recursive] 错误 1 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询