Re: [PATCH] fixes for /usr/lib64 systems
| From: | Joe Orton | Date: | Thu, 06 Mar 2003 12:15:43 +0000 |
| Subject: | Re: [PATCH] fixes for /usr/lib64 systems | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94836@lists.php.net to get a copy of this message | ||
On Thu, Mar 06, 2003 at 08:06:57PM +0800, James Devenish wrote:
> In message <20030306115215.GC31291@redhat.com>
> on Thu, Mar 06, 2003 at 11:52:15AM +0000, Joe Orton wrote:
...
> > On a lib64 system, if you do have the 32-bit libraries installed in
> > /usr/lib, but want to compile against the 64-bit libraries in
> > /usr/lib64, adding /usr/lib to the library search path breaks everything
> > horribly, since you pick up the 32-bit libc etc.
>
> Okay, so 64-bit Linux needs the path hack because it will try and use
> 32-bit binaries with its 64-bit ABI instead of recognising that the
> 32-bit binaries cannot be used and skipping over them? Is that what
> you're saying?
Yes, that's why it is needed - though I'm surprised if this problem is
unique to the linker used on Linux. (especially since GNU binutils
isn't uniquely used on Linux :)
I'm fairly sure I've had problems on IRIX before when the linker picks
up libraries with a different ABI.
Regards,
joe