配apache出错:libtool: link: `passwd/apr_getpass.lo' is not a valid libtool object
2014-03-29 18:26
931 查看
make的时候出现下面错误,以前配没遇到过这问题
libtool: link: `passwd/apr_getpass.lo' is not a valid libtool object
make[3]: *** [libapr-1.la] 错误 1
make[3]: Leaving directory `/root/httpd-2.2.8/srclib/apr'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/httpd-2.2.8/srclib/apr'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/httpd-2.2.8/srclib'
make: *** [all-recursive] 错误 1
后来发现原来是缺少 apr & apr-util.
去http://apr.apache.org/ 下来最新的apr-1.2.12-tar.gz和apr-util-1.2.12.tar.gz
>tar -zxvf apr-1.2.12-tar.gz
>cd apr-1.2.12
>./configure --prefix=/usr/local/apr-httpd/
>make & make install
>tar -zxvf apr-util-1.2.12-tar.gz
>cd apr-util-1.2.12
>./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
>make & make install
回到apache编译目录
>./configure --prefix=/usr/local/httpd/ --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
>make
>make install
问题解决。
转自:http://www.linuxdiyf.com/viewarticle.php?id=92988
libtool: link: `passwd/apr_getpass.lo' is not a valid libtool object
make[3]: *** [libapr-1.la] 错误 1
make[3]: Leaving directory `/root/httpd-2.2.8/srclib/apr'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/httpd-2.2.8/srclib/apr'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/httpd-2.2.8/srclib'
make: *** [all-recursive] 错误 1
后来发现原来是缺少 apr & apr-util.
去http://apr.apache.org/ 下来最新的apr-1.2.12-tar.gz和apr-util-1.2.12.tar.gz
>tar -zxvf apr-1.2.12-tar.gz
>cd apr-1.2.12
>./configure --prefix=/usr/local/apr-httpd/
>make & make install
>tar -zxvf apr-util-1.2.12-tar.gz
>cd apr-util-1.2.12
>./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
>make & make install
回到apache编译目录
>./configure --prefix=/usr/local/httpd/ --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
>make
>make install
问题解决。
转自:http://www.linuxdiyf.com/viewarticle.php?id=92988
相关文章推荐
- PHP编译安装报错,make:*libtool: link: `ext/libxml/libxml.lo' is not a valid libtool object
- libtool: link: `ext/standard/info.lo' is not a valid libtool object
- libtool: link: `dftables.lo' is not a valid libtool object
- php编译安装:link: `ext/date/php_date.lo' is not a valid libtool objec
- log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.lo
- 'Operation is not valid due to the current state of the object' error during postback
- Error: Target id 'android--1' is not valid. Use 'android.bat list targets' to get the target ids.
- log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.lo
- libtool: link: `dftables.lo' is not a valid libtool object
- Ubutun 编译完sdk 出现Target id is not valid. Use 'android list targets' to get the target ids.
- Linux 安装php 遇到 libtool: link: `ext/date/php_date.lo' is not a valid libtool object
- IF OBJECT_ID('UP_GET_XXX_SEQNO') IS NOT NULL
- mongoDB add user in v3.0 问题的解决(Property 'addUser' of object admin is not a func)
- 编译apk的时候提示value for 'keystore' is not valid
- 常用命令图解 & & git 错误 fatal: Not a valid object name: 'master'.
- Delphi ''测试...'' is not a valid component name.
- The run destination My Mac 64-bit is not valid for Running the scheme '*'.
- The run destination My Mac 64-bit is not valid for Running the scheme '*****'.
- Python报错TypeError: 'str' object is not callable
- 继承QTreeWidgetItem发生error: 'staticMetaObject' is not a member of 'QTreeWidgetItem' 错误