#24894 [WFx]: Compile failure when building openssl support shared

From: Date: Fri, 01 Aug 2003 12:25:36 +0000
Subject: #24894 [WFx]: Compile failure when building openssl support shared
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45168@lists.php.net to get a copy of this message
 ID:               24894
 Updated by:       sniper@php.net
 Reported By:      cp43 at absolutedigital dot net
 Status:           Wont fix
 Bug Type:         Compile Failure
 Operating System: Linux 2.4.21
 PHP Version:      4.3.2
 New Comment:

This is actually fixed in PHP 5. (won't fix in PHP 4)



Previous Comments:
------------------------------------------------------------------------

[2003-07-31 15:06:20] 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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24894&edit=1



Thread (3 messages)

« previous php.bugs (#45168) next »