RE: [PHP-INSTALL] installing php 5.5.1 on to solaris 10 results in error during make
| From: | KAs Coenen | Date: | Mon, 12 Aug 2013 13:21:12 +0000 |
| Subject: | RE: [PHP-INSTALL] installing php 5.5.1 on to solaris 10 results in error during make | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-20279@lists.php.net to get a copy of this message | ||
Well, the same happened. After removing the unpacked tar and resetting vars:
__iob 0x8d /usr/local/ssl/lib/libcrypto.a(pem_lib.o)
__iob 0x46d /usr/local/ssl/lib/libcrypto.a(cryptlib.o)
__iob 0x9f3 /usr/local/ssl/lib/libcrypto.a(cryptlib.o)
__iob 0x4e8 /usr/local/ssl/lib/libcrypto.a(rsa_sign.o)
__iob 0xa7 /usr/local/ssl/lib/libcrypto.a(ui_openssl.o)
__iob 0xd5 /usr/local/ssl/lib/libcrypto.a(ui_openssl.o)
__iob 0x13e /usr/local/ssl/lib/libcrypto.a(ui_openssl.o)
__iob 0x153 /usr/local/ssl/lib/libcrypto.a(ui_openssl.o)
__iob 0x3237 /usr/local/ssl/lib/libssl.a(s3_srvr.o)
__iob 0x1174 /usr/local/ssl/lib/libssl.a(t1_enc.o)
__iob 0x1afb /usr/local/ssl/lib/libssl.a(d1_both.o)
__iob 0x22d4 /usr/local/ssl/lib/libssl.a(d1_both.o)
__iob 0x235a /usr/local/ssl/lib/libssl.a(d1_both.o)
__iob 0x94 /usr/local/ssl/lib/libssl.a(d1_enc.o)
__iob 0x241 /usr/local/ssl/lib/libcrypto.a(txt_db.o)
__iob 0x315 /usr/local/ssl/lib/libcrypto.a(txt_db.o)
__iob 0x341 /usr/local/ssl/lib/libcrypto.a(txt_db.o)
__iob 0x3a2 /usr/local/ssl/lib/libcrypto.a(gost_eng.o)
__iob 0x3bf /usr/local/ssl/lib/libcrypto.a(gost_eng.o)
fprintf 0x94 /usr/local/ssl/lib/libcrypto.a(pem_lib.o)
fprintf 0x5ce /usr/local/ssl/lib/libcrypto.a(ui_openssl.o)
fprintf 0x323e /usr/local/ssl/lib/libssl.a(s3_srvr.o)
fprintf 0x117b /usr/local/ssl/lib/libssl.a(t1_enc.o)
fprintf 0x1b02 /usr/local/ssl/lib/libssl.a(d1_both.o)
fprintf 0x22d9 /usr/local/ssl/lib/libssl.a(d1_both.o)
fprintf 0x99 /usr/local/ssl/lib/libssl.a(d1_enc.o)
fprintf 0x348 /usr/local/ssl/lib/libcrypto.a(txt_db.o)
exit 0x96b /usr/local/ssl/lib/libcrypto.a(eng_rsax.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Configure works but I did change the options a bit. I added mcrypt (needed for phpmyadmin):
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/lib
--with-libxml-dir=/usr/local --with-zlib=/usr/local --with-xpm-dir=/usr/local --with-mysql=mysqlnd
--with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd --with-apxs2=/usr/local/apache2/bin/apxs
--without-pgsql --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-gd=/usr/local
--enable-mbstring --enable-exif --with-png-dir=/usr/local/lib --with-curl=/usr/local
--with-openssl=/usr/local/ssl --with-gettext --with-pcre-dir=/usr/local
--with-freetype-dir=/usr/local --with-mssql=/usr/local/freetds --with-ldap=/usr/ --with-mcrypt
Flag:
root@zone-eu4# echo $CFLAGS
-m64
Configure ended with exit 0
Am I missing something?
Kas
Date: Mon, 12 Aug 2013 19:00:45 +0600
From: eugene@zhegan.in
To: kascoenen@hotmail.com
CC: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] installing php 5.5.1 on to solaris 10 results in error during make
Hi.
On 12.08.2013 18:37, KAs Coenen wrote:
Hi,
Because of your advice I tried to recompile php to 64 bit. First
I recompiled all dependencies with flag -m64. All went well.
When running make for php I get the following error:
fprintf 0x94
/usr/local/ssl/lib/libcrypto.a(pem_lib.o)
fprintf 0x5ce
/usr/local/ssl/lib/libcrypto.a(ui_openssl.o)
fprintf 0x323e
/usr/local/ssl/lib/libssl.a(s3_srvr.o)
fprintf 0x117b
/usr/local/ssl/lib/libssl.a(t1_enc.o)
fprintf 0x1b02
/usr/local/ssl/lib/libssl.a(d1_both.o)
fprintf 0x22d9
/usr/local/ssl/lib/libssl.a(d1_both.o)
fprintf 0x99
/usr/local/ssl/lib/libssl.a(d1_enc.o)
fprintf 0x348
/usr/local/ssl/lib/libcrypto.a(txt_db.o)
exit 0x96b
/usr/local/ssl/lib/libcrypto.a(eng_rsax.o)
ld: fatal: relocations remain against allocatable but
non-writable sections
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
So anything to help me out?
Well, first of all - I recommend you to wipe out the unpacked php
tarball and rerun it's configure in a new environment, because I've
never seen this error. :)
Then something may change. If not, we'll take a closer look.
Eugene.