Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How can I determine the value of an executables "-rpath" option?
@ 1998-01-06  5:00 Rick Morrell
  1998-01-07  5:00 ` Monty Brandenberg
  0 siblings, 1 reply; 3+ messages in thread
From: Rick Morrell @ 1998-01-06  5:00 UTC (permalink / raw)



Hi,

How can I determine from an executable which shared library search paths
were linked with the ld's "-rpath" option.

Cheers,

    Rick




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

* Re: How can I determine the value of an executables "-rpath" option?
  1998-01-06  5:00 How can I determine the value of an executables "-rpath" option? Rick Morrell
@ 1998-01-07  5:00 ` Monty Brandenberg
  1998-01-08  5:00   ` John Kohl
  0 siblings, 1 reply; 3+ messages in thread
From: Monty Brandenberg @ 1998-01-07  5:00 UTC (permalink / raw)



Rick Morrell wrote:
> 
> Hi,
> 
> How can I determine from an executable which shared library search paths
> were linked with the ld's "-rpath" option.
> 

Statically:

	odump -D <prog>

Dynamically:

	env _RLD_ARGS=-trace <prog>

odump is a very useful program.  Many helpful options available.

m

-- 
Monty Brandenberg                                      Consulting for:
MCB, Inc.                                              Digital Equipment Corp.
45 Putnam Avenue           mcbinc@world.std.com        montyb@eng.pko.dec.com
Cambridge, MA 02139        617.864.6907                508.493.2702



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

* Re: How can I determine the value of an executables "-rpath" option?
  1998-01-07  5:00 ` Monty Brandenberg
@ 1998-01-08  5:00   ` John Kohl
  0 siblings, 0 replies; 3+ messages in thread
From: John Kohl @ 1998-01-08  5:00 UTC (permalink / raw)



Monty Brandenberg <montyb@eng.pko.dec.com> writes:

> Rick Morrell wrote:
> > How can I determine from an executable which shared library search paths
> > were linked with the ld's "-rpath" option.
> 
> Dynamically:
> 	env _RLD_ARGS=-trace <prog>

Well, -trace works but is extremely verbose (spitting out details on
every symbol that is resolved).  Using "-v" is less verbose and just
spits out which libraries are actually loaded.
--
John Kohl <jtk@rational.com> or <john_kohl@alum.mit.edu>
working for but not representing:	Rational Software
sometimes hacking on:			NetBSD/i386
Filter annoying Web Ads! See <URL:http://www.intermute.com/>




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

end of thread, other threads:[~1998-01-08  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-06  5:00 How can I determine the value of an executables "-rpath" option? Rick Morrell
1998-01-07  5:00 ` Monty Brandenberg
1998-01-08  5:00   ` John Kohl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox