* where is ldd in OSF1 ?
@ 1995-11-05 5:00 Oleg Bartunov
1995-11-05 5:00 ` Mike Iglesias
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Oleg Bartunov @ 1995-11-05 5:00 UTC (permalink / raw)
Hi,
I need utility like ldd in Solaris to extract names of libraries referenced
from executable module. Actually, I want to setup anonymous ftp (wu-ftpd)
under OSF 3.2 and need to know what libraries I have to copy to ~ftp/usr/lib
directory. I copied /sbin/ls but it doesn't work. I think /sbin/ls also
dynamically linked.
Regards,
Oleg
--
_____________________________________________________________________________
Oleg Bartunov - researcher, hostmaster
Sternberg Astronomical Institute, Moscow University
(095)939-16-83, oleg@sai.msu.su, Moscow, Russia
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-05 5:00 where is ldd in OSF1 ? Oleg Bartunov
1995-11-05 5:00 ` Mike Iglesias
@ 1995-11-05 5:00 ` Thomas Graichen
1995-11-05 5:00 ` Jonathan Rozes
1995-11-07 5:00 ` Harald Fuchs
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Thomas Graichen @ 1995-11-05 5:00 UTC (permalink / raw)
Oleg Bartunov (megera@sai.msu.su) wrote:
: Hi,
: I need utility like ldd in Solaris to extract names of libraries referenced
: from executable module. Actually, I want to setup anonymous ftp (wu-ftpd)
: under OSF 3.2 and need to know what libraries I have to copy to ~ftp/usr/lib
: directory. I copied /sbin/ls but it doesn't work. I think /sbin/ls also
: dynamically linked.
a (bad) trick to find this out is to crash it using ctrl-\ and then use "gdb
program core" - it then shows you the libs it loads symbols from - maybe it
works
i also would be interested in such a tool like ldd in many other unices
t
_______________________________________________________||_____________________
__||
Perfection is reached, not when there is no __|| thomas graichen
longer anything to add, but when there __|| freie universitaet berlin
is no longer anything to take away __|| fachbereich physik
__||
- Antoine de Saint-Exupery - __||
___________________________||____email: graichen@omega.physik.fu-berlin.de____
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-05 5:00 ` Thomas Graichen
@ 1995-11-05 5:00 ` Jonathan Rozes
0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Rozes @ 1995-11-05 5:00 UTC (permalink / raw)
In article <47j1e0$5hp@fu-berlin.de>,
graichen@sirius.physik.fu-berlin.de (Thomas Graichen) writes:
>Oleg Bartunov (megera@sai.msu.su) wrote:
>: Hi,
>: I need utility like ldd in Solaris to extract names of libraries referenced
>: from executable module. Actually, I want to setup anonymous ftp (wu-ftpd)
>: under OSF 3.2 and need to know what libraries I have to copy to ~ftp/usr/lib
>: directory. I copied /sbin/ls but it doesn't work. I think /sbin/ls also
>: dynamically linked.
>
>a (bad) trick to find this out is to crash it using ctrl-\ and then use "gdb
>program core" - it then shows you the libs it loads symbols from - maybe it
>works
>
>i also would be interested in such a tool like ldd in many other unices
'odump -Dl <filename>' dumps the liblist section of <filename>
jonathan
--
+++ Jonathan Rozes, Unix Systems Administrator, Tufts University
++ jrozes@tcs.tufts.edu, http://gumbo.tcs.tufts.edu/~jrozes/
+ Mind Over Liver: The liver probably contains 100 million cells, but
1,000 livers do not add up to a rich inner life. <GDF:SA 09/92>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-05 5:00 where is ldd in OSF1 ? Oleg Bartunov
@ 1995-11-05 5:00 ` Mike Iglesias
1995-11-05 5:00 ` Thomas Graichen
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Mike Iglesias @ 1995-11-05 5:00 UTC (permalink / raw)
In article <slrn49poq2.h6g.megera@ra.sai.msu.su>,
Oleg Bartunov <megera@sai.msu.su> wrote:
>Hi,
>I need utility like ldd in Solaris to extract names of libraries referenced
>from executable module. Actually, I want to setup anonymous ftp (wu-ftpd)
>under OSF 3.2 and need to know what libraries I have to copy to ~ftp/usr/lib
>directory. I copied /sbin/ls but it doesn't work. I think /sbin/ls also
>dynamically linked.
You can use 'odump -Dl' to get a list of shared libraries an executable
needs.
ls belongs in ~ftp/bin, not ~ftp/usr/bin. /sbin/ls is statically linked.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-05 5:00 where is ldd in OSF1 ? Oleg Bartunov
` (2 preceding siblings ...)
1995-11-07 5:00 ` Harald Fuchs
@ 1995-11-07 5:00 ` Neil Schellenberger
1995-11-07 5:00 ` Mike Iglesias
1995-11-07 5:00 ` Peter Mayne
4 siblings, 1 reply; 9+ messages in thread
From: Neil Schellenberger @ 1995-11-07 5:00 UTC (permalink / raw)
>>>>> "OB" == Oleg Bartunov <megera@sai.msu.su> writes:
In article <slrn49poq2.h6g.megera@ra.sai.msu.su> megera@sai.msu.su (Oleg Bartunov) writes:
OB> Hi, I need utility like ldd in Solaris to extract names of libraries
OB> referenced from executable module. Actually, I want to setup
OB> anonymous ftp (wu-ftpd) under OSF 3.2 and need to know what
OB> libraries I have to copy to ~ftp/usr/lib directory. I copied
OB> /sbin/ls but it doesn't work. I think /sbin/ls also dynamically
OB> linked.
OB> Regards, Oleg
Oleg,
I think that you will find that /sbin/ls is actually statically linked
(as are all commands in the /sbin directory). The command
odump -Dl /sbin/ls
will list all of the dynamic libraries used by the executable (none, in
this case).
I suspect that your real problem is that you haven't created an
~ftp/etc/sia directory containing the correct files. If you look near
the end of the ftpd(8) manpage that comes with 3.2, you will find a
description of the directories and files required for the correct
operation of (any) ftpd. (Even though this manpage suggests that
~ftp/etc/sia is optional, I am virtually positive that it is mandatory.)
You can create ~ftp/etc/sia by copying /etc/sia.
I hope that this helps!
Regards,
Neil
--
Neil Schellenberger | Voice : (604) 293-5438
MPR Teltech Ltd. | Fax : (604) 293-5787
8999 Nelson Way, Burnaby, BC | E-Mail: schellen@mpr.ca
Canada, V5A 4B5 | URL : http://www.mpr.ca/
"Hey! He wrecked my jacket! Kill him _A LOT_!!" - B.T.V.S.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-07 5:00 ` Neil Schellenberger
@ 1995-11-07 5:00 ` Mike Iglesias
0 siblings, 0 replies; 9+ messages in thread
From: Mike Iglesias @ 1995-11-07 5:00 UTC (permalink / raw)
In article <SCHELLEN.95Nov6180124@fizzle.mpr.ca>,
Neil Schellenberger <schellen@mpr.ca> wrote:
>I suspect that your real problem is that you haven't created an
>~ftp/etc/sia directory containing the correct files. If you look near
>the end of the ftpd(8) manpage that comes with 3.2, you will find a
>description of the directories and files required for the correct
>operation of (any) ftpd. (Even though this manpage suggests that
>~ftp/etc/sia is optional, I am virtually positive that it is mandatory.)
I'm running the wu-ftpd on dUnix 3.2 and there is no ~ftp/etc/sia
directory on my system, so it is optional.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-07 5:00 ` Harald Fuchs
@ 1995-11-07 5:00 ` Mike Iglesias
0 siblings, 0 replies; 9+ messages in thread
From: Mike Iglesias @ 1995-11-07 5:00 UTC (permalink / raw)
In article <purazkvj3u.fsf@themroc.colibri.de>,
Harald Fuchs <hf@colibri.de> wrote:
>Yes, but then ls will display numeric user ids instead of user names.
Yes, it does, but I don't care. I don't have a passwd file in ~ftp/etc
either. Like I said, it's optional.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-05 5:00 where is ldd in OSF1 ? Oleg Bartunov
` (3 preceding siblings ...)
1995-11-07 5:00 ` Neil Schellenberger
@ 1995-11-07 5:00 ` Peter Mayne
4 siblings, 0 replies; 9+ messages in thread
From: Peter Mayne @ 1995-11-07 5:00 UTC (permalink / raw)
In article <slrn49poq2.h6g.megera@ra.sai.msu.su>, megera@sai.msu.su says...
>
>Actually, I want to setup anonymous ftp (wu-ftpd)
>under OSF 3.2 and need to know what libraries I have to copy to ~ftp/usr/lib
>directory. I copied /sbin/ls but it doesn't work. I think /sbin/ls also
>dynamically linked.
Nothing is /sbin is dynamically linked.
In what way doesn't it work?
--
PJDM
Peter Mayne
Digital Equipment Corporation (Australia)
Canberra, ACT
----
These are my opinions, and have nothing to do with Digital.
The truth is out there, but not necessarily in here.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: where is ldd in OSF1 ?
1995-11-05 5:00 where is ldd in OSF1 ? Oleg Bartunov
1995-11-05 5:00 ` Mike Iglesias
1995-11-05 5:00 ` Thomas Graichen
@ 1995-11-07 5:00 ` Harald Fuchs
1995-11-07 5:00 ` Mike Iglesias
1995-11-07 5:00 ` Neil Schellenberger
1995-11-07 5:00 ` Peter Mayne
4 siblings, 1 reply; 9+ messages in thread
From: Harald Fuchs @ 1995-11-07 5:00 UTC (permalink / raw)
iglesias@draco.acs.uci.edu (Mike Iglesias) writes:
> I'm running the wu-ftpd on dUnix 3.2 and there is no ~ftp/etc/sia
> directory on my system, so it is optional.
Yes, but then ls will display numeric user ids instead of user names.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1995-11-07 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-05 5:00 where is ldd in OSF1 ? Oleg Bartunov
1995-11-05 5:00 ` Mike Iglesias
1995-11-05 5:00 ` Thomas Graichen
1995-11-05 5:00 ` Jonathan Rozes
1995-11-07 5:00 ` Harald Fuchs
1995-11-07 5:00 ` Mike Iglesias
1995-11-07 5:00 ` Neil Schellenberger
1995-11-07 5:00 ` Mike Iglesias
1995-11-07 5:00 ` Peter Mayne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox