Summary: | Apache does not honor the openssl library path given by --with-ssl during compile | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Igor Cicimov <icicimov> |
Component: | Build | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED LATER | ||
Severity: | major | Keywords: | MassUpdate |
Priority: | P2 | ||
Version: | 2.2.26 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Igor Cicimov
2013-12-02 01:43:05 UTC
$ libtool --version ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ok, the problem was obviously with apache apr/libtoll which probably comes with some hard coded library paths in libtool. The solution, omit the "--with-included-apr" from your configure options to by-pass the apache apr and use the system provided one. After that apache builds and installs fine. Additionally, you need to include the openssl library path into $LD_LIBRARY_PATH of the user that is starting apache so for me I put: export LD_LIBRARY_PATH=/opt/openssl/lib:$LD_LIBRARY_PATH in the /root/.bashrc for the root user. Just as confirmation, here it is up and running: [Mon Dec 02 15:08:27 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Mon Dec 02 15:08:27 2013] [notice] Digest: generating secret for digest authentication ... [Mon Dec 02 15:08:27 2013] [notice] Digest: done [Mon Dec 02 15:08:28 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Mon Dec 02 15:08:28 2013] [warn] pid file /usr/local/apache2-2.2.26/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Mon Dec 02 15:08:28 2013] [notice] Apache/2.2.26 (Unix) DAV/2 mod_ssl/2.2.26 OpenSSL/1.0.1e configured -- resuming normal operations Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd. As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd. If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question. If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with. Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated. |