Error when installing Apache on Tomcat7: “file…has no symbols”

╄→尐↘猪︶ㄣ 提交于 2019-12-12 00:43:20

问题


I tried to install apache [APR][1] on Tomcat7.

What I did was:

tar xvf apache-tomcat/bin/tomcat-native.tar.gz
./configure --with-apr=/usr/local/apr --without-ssl
make install

APR was not installed correctly I get the output:

make[1]: Nothing to be done for `local-all'.
/usr/local/apr/build-1/mkdir.sh /usr/local/apr/include/apr-1 /usr/local/apr/lib/pkgconfig \
             /usr/local/apr/lib /usr/local/apr/bin
/usr/bin/install -c -m 644 tcnative.pc /usr/local/apr/lib/pkgconfig/tcnative-1.pc
list=''; for i in $list; do \
        ( cd $i ; make DESTDIR= install ); \
    done
/bin/sh /usr/local/apr/build-1/libtool --mode=install /usr/bin/install -c -m 755 libtcnative-1.la /usr/local/apr/lib
libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-1.0.dylib /usr/local/apr/lib/libtcnative-1.0.dylib
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libtcnative-1.0.dylib libtcnative-1.dylib || { rm -f libtcnative-1.dylib && ln -s libtcnative-1.0.dylib libtcnative-1.dylib; }; })
libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-1.lai /usr/local/apr/lib/libtcnative-1.la
libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-1.a /usr/local/apr/lib/libtcnative-1.a
libtool: install: chmod 644 /usr/local/apr/lib/libtcnative-1.a
libtool: install: ranlib /usr/local/apr/lib/libtcnative-1.a
ranlib: file: /usr/local/apr/lib/libtcnative-1.a(sslutils.o) has no symbols

What is wrong here?

When running Tomcat I get the following output:

Aug 07, 2013 2:16:14 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

来源:https://stackoverflow.com/questions/18092461/error-when-installing-apache-on-tomcat7-file-has-no-symbols

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!