Solutions to apache compilation problems under Solaris

Source: Internet
Author: User
Solution to the apache compilation problem under Solaris-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Error message:
======================================
Ld. so.1 :. /gen_test_char: Fatal: libexpat. so.0: Open failed: This file or directory does not exist. *** 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 'built'
Ld. so.1:./gen_test_char: Fatal: libexpat. so.0: Open failed: No file or directory
* ** 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'
========================================================== ==================

Solution:
LD_LIBRARY_PATH = $ LD_LIBRARY_PATH:/usr/local/lib
Export LD_LIBRARY_PATH
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.