public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Info regarding the selection of 64-bit vs. 32-bit shared libs
@ 2006-07-06 17:03 Anil E. Sahukar
  2006-07-06 22:28 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Anil E. Sahukar @ 2006-07-06 17:03 UTC (permalink / raw)
  To: binutils

Hello,

I have found that I am missing some critical information regarding the
executable loading process when shared libs and a 64-bit app are
involved.

Specifically, I have LD_LIBRARY_PATH is set to /usr/lib and /lib.

In one case, 64-bit app A loads the 64-bit version of its shared libs
(including libGL.so) and runs happily.  

In another case, 64-bit app B does not...until LD_LIBRARY_PATH is set to
/lib64 and /usr/lib64.

I'd like to understand why app A loads properly without changing the
LD_LIBRARY_PATH.  

If possible, could you point me to the proper documentation?

Thanks in advance for the help,

AJ Sahukar
asahukar@altair.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Info regarding the selection of 64-bit vs. 32-bit shared libs
  2006-07-06 17:03 Info regarding the selection of 64-bit vs. 32-bit shared libs Anil E. Sahukar
@ 2006-07-06 22:28 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2006-07-06 22:28 UTC (permalink / raw)
  To: binutils; +Cc: Anil E. Sahukar

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

On Thursday 06 July 2006 13:03, Anil E. Sahukar wrote:
> I have found that I am missing some critical information regarding the
> executable loading process when shared libs and a 64-bit app are
> involved.

binutils isnt involved in the runtime library loading process ... that is the 
ld.so (usually provided by glibc)

you probably want to try these docs:
http://www.iecc.com/linker/
http://docs.sun.com/app/docs/doc/817-1984
http://www.caldera.com/developers/gabi/
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-06 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-06 17:03 Info regarding the selection of 64-bit vs. 32-bit shared libs Anil E. Sahukar
2006-07-06 22:28 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).