#24894 [NEW]: Compile failure when building openssl support shared
| From: | cp43 at absolutedigital dot net | Date: | Thu, 31 Jul 2003 20:06:20 +0000 |
| Subject: | #24894 [NEW]: Compile failure when building openssl support shared | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-45141@lists.php.net to get a copy of this message | ||
From: cp43 at absolutedigital dot net
Operating system: Linux 2.4.21
PHP version: 4.3.2
PHP Bug Type: Compile Failure
Bug description: Compile failure when building openssl support shared
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 bug report at http://bugs.php.net/?id=24894&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24894&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24894&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24894&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24894&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24894&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24894&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24894&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24894&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24894&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24894&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24894&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24894&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24894&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24894&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24894&r=gnused