httpd-2.4.7 + openssl-1.0.1e = apache

fengyingkong 2014-01-05 09:47:14
报错信息如下:


c_zlib.c:(.text+0x6f): undefined reference to `inflateEnd'
c_zlib.c:(.text+0x8d): undefined reference to `deflateEnd'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_ctrl':
c_zlib.c:(.text+0x34c): undefined reference to `deflate'
c_zlib.c:(.text+0x44f): undefined reference to `zError'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_read':
c_zlib.c:(.text+0x513): undefined reference to `inflate'
c_zlib.c:(.text+0x56c): undefined reference to `zError'
c_zlib.c:(.text+0x5d6): undefined reference to `inflateInit_'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `bio_zlib_write':
c_zlib.c:(.text+0x6e2): undefined reference to `deflate'
c_zlib.c:(.text+0x75c): undefined reference to `zError'
c_zlib.c:(.text+0x7eb): undefined reference to `deflateInit_'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':
c_zlib.c:(.text+0x942): undefined reference to `inflate'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block':
c_zlib.c:(.text+0x9e9): undefined reference to `deflate'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_finish':
c_zlib.c:(.text+0xa2f): undefined reference to `inflateEnd'
c_zlib.c:(.text+0xa38): undefined reference to `deflateEnd'
/apache/apache2.4.7/openssl/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
c_zlib.c:(.text+0xae8): undefined reference to `inflateInit_'
c_zlib.c:(.text+0xb69): undefined reference to `deflateInit_'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/apache/apache2.4.7/soft/httpd-2.4.7/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/apache/apache2.4.7/soft/httpd-2.4.7/support'
make: *** [all-recursive] Error 1



配置的口令如下:

./configure --prefix=/app/spapache/dist --enable-dav --enable-dav-fs --enable-modules=all --with-z --enable-deflate --enable-ssl --with-ssl=/app/spapache/openssl --with-apr=/app/spapache/apr --with-apr-util=/app/spapache/apr-util --with-pcre=/app/spapache/pcre




求救。。。。。。。。。。。。。。。。。。。。急!!!!!!!
...全文
2192 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
风君子_ol 2014-02-13
  • 打赏
  • 举报
回复
我用的交叉编译能编译通过,但是http和https不能共存,求解释
fengyingkong 2014-01-05
  • 打赏
  • 举报
回复
openssl编译命令如下: ./config --openssldir=/apache/apache2.4.7/openssl -static zlib

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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