#42287 [Opn->Bgs]: PHP 5.2.3 with openssl and imap compilation problem
| From: | jani@php.net | Date: | Wed, 15 Aug 2007 15:48:17 +0000 |
| Subject: | #42287 [Opn->Bgs]: PHP 5.2.3 with openssl and imap compilation problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116125@lists.php.net to get a copy of this message | ||
ID: 42287
Updated by: jani@php.net
Reported By: maddox at webster dot edu
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris 10
PHP Version: 5CVS-2007-08-13 (snap)
New Comment:
It's still not any PHP bug. Use google to find references about the
error you get.
Previous Comments:
------------------------------------------------------------------------
[2007-08-15 14:45:32] maddox at webster dot edu
Correction:
Here is how I configured openssl:
./config --prefix=/usr/local/ssl -shared
------------------------------------------------------------------------
[2007-08-15 14:16:12] maddox at webster dot edu
I compiled openssl with the -shared flag and attempted to compile PHP
5.2.3 again and I am still receiving the same error message.
Here is how I configured openssl:
./configure --prefix=/usr/local/ssl -shared
------------------------------------------------------------------------
[2007-08-13 21:57:02] jani@php.net
You should compile openssl with -shared flag. This is not any PHP bug.
For more info, google for the error message..
------------------------------------------------------------------------
[2007-08-13 18:31:34] maddox at webster dot edu
Description:
------------
Attempting to compile PHP 5.2.3 with openssl and imap support and
compilation is failing.
OpenSSL 0.9.8e is installed in /usr/local/ssl
IMAP 2006 has been compiled in /opt/src/imap-2006i
Reproduce code:
---------------
./configure --prefix=/opt/local/apache2/php
--with-apxs2=/opt/local/apache2/bin/apxs --with-gettext --with-dom
--with-mcrypt=/usr/local/lib/libmcrypt --with-iconv
--enable-mbstring=all --enable-mbregex --with-gd --with-png-dir=/usr
--with-jpeg-dir=/usr --with-mime-magic=/usr/local/share/file/magic.mime
--with-zlib-dir=/usr/include --with-openssl=/usr/local/ssl
--with-imap-ssl=/opt/src/imap-2006i
the Make file is created but then after executing make an error message
is received (see Actual result)
Expected result:
----------------
makefile should be created
Actual result:
--------------
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42287&edit=1