On Fri, 22 Feb 2002 11:20:21 +0100
Eduard Bloch <[EMAIL PROTECTED]> wrote:

> I do not think so if I see "-lslang -lnewt" while building dbootstrap.
> Can anyone tell the ultimative truth?
> 

-lslang and -lnewt looks for 
libslang.so and libnewt.so, unless -static is given, and 
creates a ELF executable that has a symbol requesting the soname
that libslang.so and libnewt.so gives.

for example, building against

$ objdump -x /usr/lib/libslang.so |grep SONAME
  SONAME      libslang.so.1-UTF8

and
$ objdump -x /usr/lib/libnewt.so | grep SONAME
  SONAME      libnewt.so.0.50

will give a binary that requests:

$ objdump -p dbootstrap-lc |grep NEEDED
  NEEDED      libnewt.so.0.50
  NEEDED      libslang.so.1-UTF8
  NEEDED      libc.so.6


as simple as that.

And AFAIK, boot-floppies re-creates a .so from the PIC 
data, with the name written in the NEEDED.





regards,
        junichi

-- 
[EMAIL PROTECTED]  http://www.netfort.gr.jp/~dancer




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to