[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#134045: b-f needs to be updated to compile with slang1a-utf8



On Fri, 22 Feb 2002 11:20:21 +0100
Eduard Bloch <edi@gmx.de> 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

-- 
dancer@debian.org  http://www.netfort.gr.jp/~dancer





Reply to: