Re: [PHP-DEV] [PATCH] fixes for /usr/lib64 systems
[email protected] (Joe Orton) Thu, 6 Mar 2003 12:15:43 +0000
| Newsgroups | php.dev |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 06, 2003 at 08:06:57PM +0800, James Devenish wrote: > In message <[email protected]> > 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