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

 ID:                 54981
 User updated by:    php-bugs at majkl578 dot cz
 Reported by:        php-bugs at majkl578 dot cz
 Summary:            PHP fails to compile with openssl
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Linux Debian Sid
 PHP Version:        trunk-SVN-2011-06-03 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

I have both libssl0.9.8 (0.9.8o-7) and libssl1.0.0 (1.0.0d-2) installed. 
libssl-dev's version is 1.0.0d-2. (I can't remove 0.9.8 due to dependencies.)


Previous Comments:
------------------------------------------------------------------------
[2011-06-03 21:06:26] scott...@php.net

Same version of openssl and no problems here.



Do you have two separate versions of openssl installed or just libssl-dev and 

libssl both with 1.0.0d?



macvicar:trunk macvicar$ sapi/cli/php -d "extension_dir=modules/" -d 

"extension=openssl.so" -i | grep -i openssl

Configure Command =>  './configure'  '--disable-all' '--enable-debug' '--with-

openssl=shared'

openssl

OpenSSL support => enabled

OpenSSL Library Version => OpenSSL 1.0.0d 8 Feb 2011

OpenSSL Header Version => OpenSSL 1.0.0d 8 Feb 2011

------------------------------------------------------------------------
[2011-06-03 20:11:36] php-bugs at majkl578 dot cz

Nope, same error with your config line.



1. untared

2. configured with ./configure --disable-all --enable-debug 
--with-openssl=shared

3. ran make



make clean doesn't fix it.

------------------------------------------------------------------------
[2011-06-03 19:38:35] scott...@php.net

Corrupt object file, try a make clean and make again.



Also a simpler configure line is normally appreciated to test :)



I tried ./configure --disabe-all --enable-debug --with-openssl=shared



No problems.

------------------------------------------------------------------------
[2011-06-03 19:38:32] scott...@php.net

Corrupt object file, try a make clean and make again.



Also a simpler configure line is normally appreciated to test :)



I tried ./configure --disabe-all --enable-debug --with-openssl=shared



No problems.

------------------------------------------------------------------------
[2011-06-03 13:42:05] php-bugs at majkl578 dot cz

It cut the key part:

...

/usr/bin/ld: ext/openssl/.libs/openssl.o: invalid string offset 79362 >= 8960 
for section `.strtab'

/usr/bin/ld: ext/openssl/.libs/openssl.o: invalid string offset 79362 >= 8960 
for section `.strtab'

/usr/bin/ld: ext/openssl/.libs/openssl.o: invalid string offset 79362 >= 8960 
for section `.strtab'

/usr/bin/ld: ext/openssl/.libs/openssl.o: invalid string offset 87885 >= 8960 
for section `.strtab'

/usr/bin/ld: unknown operator '(' in complex symbol

/usr/bin/ld: final link failed: Invalid operation

collect2: ld returned 1 exit status

make: *** [ext/openssl/openssl.la] Error 1

make: *** Waiting for unfinished jobs....

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=54981


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

Reply via email to