#36713 [Fbk->Opn]: apache and opteron 64bit cannot load module

From: Date: Mon, 13 Mar 2006 11:38:53 +0000
Subject: #36713 [Fbk->Opn]: apache and opteron 64bit cannot load module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-94267@lists.php.net to get a copy of this message
 ID:               36713
 User updated by:  abarbieri at isis dot sm
 Reported By:      abarbieri at isis dot sm
-Status:           Feedback
+Status:           Open
 Bug Type:         *Configuration Issues
 Operating System: solaris 10
 PHP Version:      5.1.2
 New Comment:

When i try to compile php with the same option of the 5.0.5 version i
receive:
.....
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

all the errors are relatives to the libmysqlclient.a library


Previous Comments:
------------------------------------------------------------------------

[2006-03-13 12:24:29] tony2001@php.net

Again, please try PHP 5.1.x snapshots.

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

[2006-03-13 12:12:03] abarbieri at isis dot sm

The option:
LD_LIBRARY_PATH:$LD_LIBRARY_PATH:/usr/64:/usr/sfw/lib/amd64
before configure stage is the same than --with-libdir=lib64 (i think).
I see that putting -m64 option in CC variable the fpic was recognized
automatically.
All the libraries linked are 64 bit compatibles...i do not
understand...

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

[2006-03-13 11:31:34] tony2001@php.net

>--with-libdir=lib64 already done with no positive results.
Because you're using PHP 5.0.5 and this option doesn't exist there.

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

[2006-03-13 11:26:32] abarbieri at isis dot sm

--with-libdir=lib64 already done with no positive results.
Modified LD_LIBRARY_PATH with /usr/64 e AMD64 specific libraries with
no positive results.
used -fPIC and -fpic in inline compiler option with no positive
results.
modified apache2/bin/envvars with no positive results.

Other ideas?
THNX

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

[2006-03-13 11:16:26] tony2001@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip

And use --with-libdir=lib64, which appeared first in 5.1.x.

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

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/36713

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


Thread (8 messages)

« previous php.bugs (#94267) next »