php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42287 PHP 5.2.3 with openssl and imap compilation problem
Submitted: 2007-08-13 18:31 UTC Modified: 2007-08-15 15:48 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: maddox at webster dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2007-08-13 (snap) OS: Solaris 10
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: maddox at webster dot edu
New email:
PHP Version: OS:

 

 [2007-08-13 18:31 UTC] 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'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-13 21:57 UTC] 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-15 14:16 UTC] 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-15 14:45 UTC] maddox at webster dot edu
Correction:

Here is how I configured openssl:

./config --prefix=/usr/local/ssl -shared
 [2007-08-15 15:48 UTC] jani@php.net
It's still not any PHP bug. Use google to find references about the error you get. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 21:01:30 2024 UTC