* RE: Netscape for AlphaLinux, anyone try it?
@ 2000-01-25 19:41 Jakma, Paul
2000-01-27 1:01 ` digital unix ldd like program Jason Burrell
0 siblings, 1 reply; 2+ messages in thread
From: Jakma, Paul @ 2000-01-25 19:41 UTC (permalink / raw)
To: 'axp-list@redhat.com'
> ----> Yes, I installed the RPM on an LX running 6.1 and it works
> fine. The libs
> are:
>
as an aside, is there a Digital Unix equivalent of the linux 'ldd' command,
for listing dynamic library dependencies? I can't find a similar tool on DU
4.0D, and it doesn't seem possible with nm (at least i'm not having luck
with it).
a DU ldd would be very handy for quickly checking which libs you need to
copy over to get a particular app to work on linux/alpha.
regards,
paul jakma.
^ permalink raw reply [flat|nested] 2+ messages in thread
* digital unix ldd like program
2000-01-25 19:41 Netscape for AlphaLinux, anyone try it? Jakma, Paul
@ 2000-01-27 1:01 ` Jason Burrell
0 siblings, 0 replies; 2+ messages in thread
From: Jason Burrell @ 2000-01-27 1:01 UTC (permalink / raw)
To: Jakma, Paul; +Cc: 'axp-list@redhat.com'
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1404 bytes --]
I wrote a perl script on Linux to list the libs used by Digital Unix. It
doesn't read the same info as the dynamic loader from the file, so it
isn't as good as ldd. It works for a quick script, though. BTW: this thing
requires strings from binutils.
-
====================================================================
Jason Burrell | Friends don't let friends use Windows.
jburrell@mac.edu | F U cn rd dis U mst uz Unix 2.
====================================================================
Know what I hate most? Rhetorical questions.
-- Henry N. Camp
====================================================================
On Tue, 25 Jan 2000, Jakma, Paul wrote:
>
>
> > ----> Yes, I installed the RPM on an LX running 6.1 and it works
> > fine. The libs
> > are:
> >
>
> as an aside, is there a Digital Unix equivalent of the linux 'ldd' command,
> for listing dynamic library dependencies? I can't find a similar tool on DU
> 4.0D, and it doesn't seem possible with nm (at least i'm not having luck
> with it).
>
> a DU ldd would be very handy for quickly checking which libs you need to
> copy over to get a particular app to work on linux/alpha.
>
> regards,
>
> paul jakma.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
[-- Attachment #2: Type: TEXT/PLAIN, Size: 753 bytes --]
#!/usr/bin/perl -w
#lsso: by Jason Burrell <jburrell@mac.edu>
#This lists the so (libs) used by OSF/1 / Digital UNIX / Compaq Tru64 UNIX
#dynamic executables. One could read the info from the file, but this script
#works for a quick-and-dirty program. As it looks at all strings, it may
#specify libs that aren't used. Also, this isn't as reliable as reading the
#info that the dynamic linker reads from the binary.
#Actually, this script should work for many dynamic executable formats.
#make sure you have strings(1), it's part of binutils
unless($ARGV[0])
{
print "$0: usage: $0 binary-file\n";
exit;
}
open Strings, "strings $ARGV[0]|";
while(<Strings>)
{
print $_ if m/\.so$/;
print $_ if m/\.so\./;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-01-27 0:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-25 19:41 Netscape for AlphaLinux, anyone try it? Jakma, Paul
2000-01-27 1:01 ` digital unix ldd like program Jason Burrell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox