kmself@ix.netcom.com writes: > I was going to suggest 'ld $( which xosview )' as well, but I find that > ld doesn't appear to work as advertised on my system: > > $ ld $( which xosview ) > ld: warning: cannot find entry symbol _start; defaulting to 0804a760 > > ...I'm not super familiar with the linker's functionality anyway. > Someone got the kudgel of enlightement handy?
Unless xosview is being packaged as an object file, you don't want to run ld on it. I think you want ldd, which reports what runtime libraries are needed by binaries. E.g.: timothy:~$ ldd /usr/bin/emacs libXaw.so.6 => /usr/X11R6/lib/libXaw.so.6 (0x40014000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4004c000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4005e000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400a7000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400b0000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400c6000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400d2000) libncurses.so.5 => /lib/libncurses.so.5 (0x40179000) libm.so.6 => /lib/libm.so.6 (0x401b7000) libc.so.6 => /lib/libc.so.6 (0x401d4000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)