* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Ryurick M. Hristev
@ 1999-07-22 4:00 ` Jon Hitchcock
1999-07-23 4:00 ` Andrew Hobson
1999-07-23 4:00 ` lar3ry gensch
` (3 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: Jon Hitchcock @ 1999-07-22 4:00 UTC (permalink / raw)
Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote in message
news:qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz...
> ...
> Maybe he wanted to talk about an ldd equivalent ?
> (which BTW I couldn't find)
> ...
In Digital Unix, the odump command has options for reporting on shared
libraries. To find out which libraries are required to run a binary, use
odump -Dl filename
(that is hyphen uppercase-D lowercase-L).
Jon Hitchcock
Uniplex Ltd, 126 Hempstead Road, Kings Langley, Herts, WD4 8AL, U.K.
E-mail Jon.Hitchcock@uniplex.co.uk, Tel +44 (0) 1923 299718, Fax +44 (0)
1923 299700
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-22 4:00 ` Jon Hitchcock
@ 1999-07-23 4:00 ` Andrew Hobson
1999-07-27 4:00 ` Greg P Tomaschke
0 siblings, 1 reply; 15+ messages in thread
From: Andrew Hobson @ 1999-07-23 4:00 UTC (permalink / raw)
On Thu, 22 Jul 1999 22:51:37 +0100, "Jon Hitchcock" <Jon.Hitchcock@uniplex.co.uk> said:
> Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote in message
> news:qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz...
>> ...
>> Maybe he wanted to talk about an ldd equivalent ?
>> (which BTW I couldn't find)
>> ...
> In Digital Unix, the odump command has options for reporting on shared
> libraries. To find out which libraries are required to run a binary, use
> odump -Dl filename
> (that is hyphen uppercase-D lowercase-L).
One thing I haven't figured out how to do is get the path to the
library that the binary is using. With LD_LIBRARY_PATH, cc -rpath,
and multiple versions of the library lying around, I'd really, really
like a way to figure that out.
On Tru64 4.0F:
$ odump -Dl /usr/bin/X11/xterm
***LIBRARY LIST SECTION***
Name Time-Stamp CheckSum Flags Version
/usr/bin/X11/xterm:
libXaw.so Apr 2 01:59:38 1999 0xf381d6a0 0 6.0
libXmu.so Apr 2 01:58:34 1999 0x3bf3a33d 0
libXt.so Apr 2 01:57:54 1999 0x10dd9a17 0
libSM.so Apr 2 01:55:43 1999 0xb64c7082 0
libICE.so Apr 2 01:55:34 1999 0x1199be32 0
libXext.so Apr 2 01:56:03 1999 0xafcb84d5 0
libX11.so Apr 2 01:54:59 1999 0xb7349a7f 0
libc.so Apr 1 21:31:08 1999 0x59eef91c 0 osf.1
On Solaris 2.6:
$ ldd /usr/openwin/bin/xterm
libXaw.so.5 => /usr/openwin/lib/libXaw.so.5
libXmu.so.4 => /usr/openwin/lib/libXmu.so.4
libm.so.1 => /usr/lib/libm.so.1
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
Drew
--
"Joe, release me from your Kung-Fu grip." -- Stacy Lavelle
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Andrew Hobson
@ 1999-07-27 4:00 ` Greg P Tomaschke
0 siblings, 0 replies; 15+ messages in thread
From: Greg P Tomaschke @ 1999-07-27 4:00 UTC (permalink / raw)
There's a version of ldd on the net at:
http://www.informatik.uni-siegen.de/~unger/ldd
Here's what the output looks like:
ldd -l ./a.out
using <./a.out>, an ALPHA executable
***LIBRARY LIST SECTION***
Name Time-Stamp CheckSum Flags Version
./a.out:
libcxx.so Dec 29 15:13:41 1997 0x1da51211 0 V4.0.1
libexc.so Jun 26 14:06:59 1998 0xbf6e7df3 0 osf.1
libc.so Jan 6 15:37:29 1999 0x6f5edd10 0 osf.1
library locations:
/usr/shlib/libcxx.so
/usr/shlib/libexc.so
/usr/shlib/libc.so
-Greg
Greg Tomaschke
Lawrence Livermore National Lab
In article <kjlnc7a349.fsf@gamma.eng.mindspring.net>, Andrew Hobson <ahobson@eng.mindspring.net> writes:
|> On Thu, 22 Jul 1999 22:51:37 +0100, "Jon Hitchcock" <Jon.Hitchcock@uniplex.co.uk> said:
|>
|> > Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote in message
|> > news:qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz...
|> >> ...
|> >> Maybe he wanted to talk about an ldd equivalent ?
|> >> (which BTW I couldn't find)
|> >> ...
|>
|> > In Digital Unix, the odump command has options for reporting on shared
|> > libraries. To find out which libraries are required to run a binary, use
|> > odump -Dl filename
|> > (that is hyphen uppercase-D lowercase-L).
|>
|> One thing I haven't figured out how to do is get the path to the
|> library that the binary is using. With LD_LIBRARY_PATH, cc -rpath,
|> and multiple versions of the library lying around, I'd really, really
|> like a way to figure that out.
|>
|>
|> On Tru64 4.0F:
|>
|> $ odump -Dl /usr/bin/X11/xterm
|>
|>
|> ***LIBRARY LIST SECTION***
|> Name Time-Stamp CheckSum Flags Version
|> /usr/bin/X11/xterm:
|> libXaw.so Apr 2 01:59:38 1999 0xf381d6a0 0 6.0
|> libXmu.so Apr 2 01:58:34 1999 0x3bf3a33d 0
|> libXt.so Apr 2 01:57:54 1999 0x10dd9a17 0
|> libSM.so Apr 2 01:55:43 1999 0xb64c7082 0
|> libICE.so Apr 2 01:55:34 1999 0x1199be32 0
|> libXext.so Apr 2 01:56:03 1999 0xafcb84d5 0
|> libX11.so Apr 2 01:54:59 1999 0xb7349a7f 0
|> libc.so Apr 1 21:31:08 1999 0x59eef91c 0 osf.1
|>
|>
|> On Solaris 2.6:
|>
|> $ ldd /usr/openwin/bin/xterm
|> libXaw.so.5 => /usr/openwin/lib/libXaw.so.5
|> libXmu.so.4 => /usr/openwin/lib/libXmu.so.4
|> libm.so.1 => /usr/lib/libm.so.1
|> libXt.so.4 => /usr/openwin/lib/libXt.so.4
|> libSM.so.6 => /usr/openwin/lib/libSM.so.6
|> libICE.so.6 => /usr/openwin/lib/libICE.so.6
|> libXext.so.0 => /usr/openwin/lib/libXext.so.0
|> libX11.so.4 => /usr/openwin/lib/libX11.so.4
|> libsocket.so.1 => /usr/lib/libsocket.so.1
|> libnsl.so.1 => /usr/lib/libnsl.so.1
|> libc.so.1 => /usr/lib/libc.so.1
|> libdl.so.1 => /usr/lib/libdl.so.1
|> libmp.so.2 => /usr/lib/libmp.so.2
|>
|>
|> Drew
|>
|> --
|> "Joe, release me from your Kung-Fu grip." -- Stacy Lavelle
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Ryurick M. Hristev
1999-07-22 4:00 ` Jon Hitchcock
@ 1999-07-23 4:00 ` lar3ry gensch
1999-07-26 4:00 ` Ryurick M. Hristev
1999-07-23 4:00 ` Peter Mayne
` (2 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: lar3ry gensch @ 1999-07-23 4:00 UTC (permalink / raw)
In article <qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz>,
physrmh@phys.canterbury.ac.nz (Ryurick M. Hristev) writes:
> And speaking of need (as I've seen you are from the mother company)
> a CD with the GNU software pre-compiled could save some time for many
> and wouldn't be so difficult for "you" (a a vendor) to make, I assume.
I believe that the following URL:
http://www.unix.digital.com/demos/
will show you the contents of the April 1999 Freeware CD-ROM [Disk 1]
(Tru64 UNIX V4.0F). This contains precompiled binaries of the GNU
tools as well as other freeware, shareware, and demos for the
specified Tru64 UNIX release.
There are also CD's containing the sources in case you are not running
that particular release (some utilities are sensitive to changes in
OS versions due to utmp file layouts, etc.).
Would this meet your needs?
--
Larry Gensch Larry.Gensch@digital.com
Compaq Computer Corporation As usual, the
110 Spit Brook Road ZKO3-2/W17 standard disclaimers
Nashua, NH 03062 apply, etc.
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` lar3ry gensch
@ 1999-07-26 4:00 ` Ryurick M. Hristev
0 siblings, 0 replies; 15+ messages in thread
From: Ryurick M. Hristev @ 1999-07-26 4:00 UTC (permalink / raw)
larry.gensch@digital.com (lar3ry gensch) writes:
> In article <qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz>,
> physrmh@phys.canterbury.ac.nz (Ryurick M. Hristev) writes:
>
> > And speaking of need (as I've seen you are from the mother company)
> > a CD with the GNU software pre-compiled could save some time for many
> > and wouldn't be so difficult for "you" (a a vendor) to make, I assume.
>
> I believe that the following URL:
>
> http://www.unix.digital.com/demos/
>
> will show you the contents of the April 1999 Freeware CD-ROM [Disk 1]
#&^@* Yes,many thanks :-)
Seeing your ftp archive, without a clear link on your pages,
and not getting it with out two boxes, I didn't bothered to do
a search on the site, I assumed it doesn't exists, sorry.
Cheers,
--
______________________________________________________________________
Ryurick M. Hristev ()..()/^\/^\ -<:-)
R.Hristev@phys.canterbury.ac.nz \/ \#/\#/\) What opinions ?
______________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Ryurick M. Hristev
1999-07-22 4:00 ` Jon Hitchcock
1999-07-23 4:00 ` lar3ry gensch
@ 1999-07-23 4:00 ` Peter Mayne
1999-07-23 4:00 ` Ryurick M. Hristev
1999-07-26 4:00 ` Peter da Silva
1999-07-26 4:00 ` Craig Neth
4 siblings, 1 reply; 15+ messages in thread
From: Peter Mayne @ 1999-07-23 4:00 UTC (permalink / raw)
Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote in message
news:qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz...
>
> (Please don't take any offense :-) but some GNU tools are simply better;
> latest culprits: make doesn't accept "inline" comments, the "f" flag
> for the ps is handy sometimes, on my Linux box that is).
From man ps on Linux (RedHat 6.0):
-f does full listing
From man ps on DIGITAL UNIX V4.0D:
-f Generates a full listing.
Apart from 33% more words in the man page description 8-), what does the
Linux -f do that the Tru64 one doesn't? a "ps -f" on each shows exactly the
same fields.
PJDM
----
Peter Mayne, Compaq Computer Australia, Canberra, ACT
These are my opinions, and have nothing to do with Compaq.
"The wise man knows that he knows nothing." - Bill. "That's us, dude!" -
Ted.
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Peter Mayne
@ 1999-07-23 4:00 ` Ryurick M. Hristev
0 siblings, 0 replies; 15+ messages in thread
From: Ryurick M. Hristev @ 1999-07-23 4:00 UTC (permalink / raw)
"Peter Mayne" <Peter.Mayne@compaq.com> writes:
> Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote in message
> news:qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz...
> >
> > (Please don't take any offense :-) but some GNU tools are simply better;
> > latest culprits: make doesn't accept "inline" comments, the "f" flag
> > for the ps is handy sometimes, on my Linux box that is).
>
> From man ps on Linux (RedHat 6.0):
>
> -f does full listing
>
> From man ps on DIGITAL UNIX V4.0D:
>
> -f Generates a full listing.
>
> Apart from 33% more words in the man page description 8-), what does the
> Linux -f do that the Tru64 one doesn't? a "ps -f" on each shows exactly the
> same fields.
From version 1.2.9 to 2.0.2 they've changed the meaning of "-f" flag
and the output format (it was similar to pstree, the new one is harder
to read :-( Try ps -H
My Debian 2.1 and RedHat 5.2 have still the 1.2.9.
Cheers,
--
______________________________________________________________________
Ryurick M. Hristev ()..()/^\/^\ -<:-)
R.Hristev@phys.canterbury.ac.nz \/ \#/\#/\) What opinions ?
______________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Ryurick M. Hristev
` (2 preceding siblings ...)
1999-07-23 4:00 ` Peter Mayne
@ 1999-07-26 4:00 ` Peter da Silva
1999-07-26 4:00 ` Craig Neth
4 siblings, 0 replies; 15+ messages in thread
From: Peter da Silva @ 1999-07-26 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
In article <qv6btd4jv9b.fsf@physp43.phys.canterbury.ac.nz>,
Ryurick M. Hristev <physrmh@phys.canterbury.ac.nz> wrote:
>And speaking of need (as I've seen you are from the mother company)
>a CD with the GNU software precompiled could save some time for many
>and wouldn't be so difficult for "you" (a a vendor) to make, I assume.
We've got several "DEC Freeware" CDs like that over the years.
--
In hoc signo hack, Peter da Silva <peter@baileynm.com>
`-_-' Ar rug t� barr�g ar do mhact�re inniu?
'U` << <KH> you did technical support for Hell ?
<susan> Didn't we all, in our youth? >:) >>
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: Tru64 UNIX equivalent of ldconfig?
1999-07-23 4:00 ` Ryurick M. Hristev
` (3 preceding siblings ...)
1999-07-26 4:00 ` Peter da Silva
@ 1999-07-26 4:00 ` Craig Neth
4 siblings, 0 replies; 15+ messages in thread
From: Craig Neth @ 1999-07-26 4:00 UTC (permalink / raw)
To: Ryurick M. Hristev
"Ryurick M. Hristev" wrote:
>
> Maybe he wanted to talk about an ldd equivalent ?
> (which BTW I couldn't find)
ldd will be available in V5.0 of Tru64 and whatever we end up
calling the V4.0 based release that follows V4.0F (presumably 'V4.0G',
but
until it ships, all bets are off). Until then, 'odump -Dl' is the
workaround.
And as Larry pointed out, we already have a 'freeware' CD that has most
of the stuff you mentioned precompiled...
--
Craig Neth ! Craig.Neth@compaq.com
Compaq Computer Corporation !
110 Spit Brook Road ZKO3-2/W17 !
Nashua, NH 03062 ! Opinions expressed herein are my
own.
=========================================================================
^ permalink raw reply [flat|nested] 15+ messages in thread