Linux下安装Apache , 在make 这一步出现如下错误 (已安装apr/apr-util/pcre)
.libs/rotatelogs.o:Infunction`post_rotate':/usr/local/work/httpd-2.4.1/support/rotate...
.libs/rotatelogs.o: In function `post_rotate':
/usr/local/work/httpd-2.4.1/support/rotatelogs.c:298: undefined reference to `apr_file_link'
collect2: ld returned 1 exit status
make[2]: *** [rotatelogs] 错误 1
make[2]:正在离开目录 `/usr/local/work/httpd-2.4.1/support'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/usr/local/work/httpd-2.4.1/support'
make: *** [all-recursive] 错误 1 展开
/usr/local/work/httpd-2.4.1/support/rotatelogs.c:298: undefined reference to `apr_file_link'
collect2: ld returned 1 exit status
make[2]: *** [rotatelogs] 错误 1
make[2]:正在离开目录 `/usr/local/work/httpd-2.4.1/support'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/usr/local/work/httpd-2.4.1/support'
make: *** [all-recursive] 错误 1 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询