php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cp43 at absolutedigital dot net
New email:
PHP Version: OS:

 

 [2003-07-31 15:06 UTC] cp43 at absolutedigital dot net
Description:
------------
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


Patches

Pull Requests

History

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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Apr 26 02:01:28 2025 UTC