|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24894 Compile failure when building openssl support shared
Submitted: 2003-07-31 15:06 UTC Modified: 2003-08-01 07:25 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: cp43 at absolutedigital dot net Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 4.3.2 OS: Linux 2.4.21
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: cp43 at absolutedigital dot net
New email:
PHP Version: OS:


 [2003-07-31 15:06 UTC] cp43 at absolutedigital dot net
When compiling openssl support shared under PHP 4.3.2 a couple of functions from ext/openssl/openssl.c are called in main/network.c but are unavailable as openssl.lo isn't linked into the binary

This is the output from the linker:

main/network.o: In function `php_stream_sock_ssl_activate_with_method':
/tmp/php-4.3.2/main/network.c:715: undefined reference to `php_SSL_new_from_context'
/tmp/php-4.3.2/main/network.c:748: undefined reference to `php_openssl_apply_verification_policy'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

compiles fine when openssl support is built in to php


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-01 07:25 UTC]
This is actually fixed in PHP 5. (won't fix in PHP 4)

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed May 25 13:04:05 2022 UTC