红联Linux门户
Linux帮助

Solaris下apache编译问题的解决方法

发布时间:2006-08-21 09:31:16来源:红联作者:夏雨
出错信息:
========================
ld.so.1: ./gen_test_char: 致命的: libexpat.so.0: 打开失败: 无此文件或目录 *** Error code 137 make: Fatal error: Command failed for target `test_char.h' Current working directory /work/apache_1.3.27/src/main *** Error code 1 make: Fatal error: Command failed for target `subdirs' Current working directory /work/apache_1.3.27/src *** Error code 1 make: Fatal error: Command failed for target `build-std' Current working directory /work/apache_1.3.27 *** Error code 1 make: Fatal error: Command failed for target `build'
ld.so.1: ./gen_test_char: 致命的: libexpat.so.0: 打开失败: 无此文件或目录
*** Error code 137
make: Fatal error: Command failed for target `test_char.h'
Current working directory /work/apache_1.3.27/src/main
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /work/apache_1.3.27/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /work/apache_1.3.27
*** Error code 1
make: Fatal error: Command failed for target `build'
=====================================================

解决方法:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
文章评论

共有 2 条评论

  1. 丁丁 于 2006-08-21 12:15:02发表:

    改了一下库??

  2. 丁丁 于 2006-08-21 12:14:07发表:

    :0(1:0(1