RE: installing php 5.5.1 on to solaris 10 results in error during make

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx
To: kascoenen@xxxxxxxxxxx
CC: php-install@xxxxxxxxxxxxx
Subject: Re: 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.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux