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

Re: Bug#182041: PIC library has bad name



sön 2003-02-23 klockan 02.23 skrev Junichi Uekawa:
> > mklibs fails to find the PIC library for reduction since it's called
> > libnewt-utf8_pic.a while mklibs expects it to simply be libnewt_pic.a
> > 
> > We're using newt debian-installer so it'd be nice if this were fixed so
> > we could save some bytes on the boot media. :-)
> 
> I have a few questions: 
> 
> I've thought boot-floppies worked with the name libnewt-utf8_pic.a.
> Why doesn't debian-installer mklibs not work with it?

Because libnewt.so.0.50 is a symlink to libnewt-utf8.so.0.50.17.

$ ldd tmp/cdrom/tree/usr/lib/cdebconf/frontend/newt.so
        libnewt.so.0.50 => /usr/lib/libnewt.so.0.50 (0x40005000)
        libc.so.6 => /lib/libc.so.6 (0x40014000)
        libslang.so.1-UTF8 => /lib/libslang.so.1-UTF8 (0x40124000)
        libm.so.6 => /lib/libm.so.6 (0x40185000)
        libdl.so.2 => /lib/libdl.so.2 (0x401a6000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

so mklibs only sees libnewt.so.0.50 and strips off the suffix and gets
libnewt_pic.a.

> And why does the boot media get some bytes free by changing the
> name here ?

Because of library reduction when using my new newt frontend? I haven't
done any actual measuring, but I thought the whole point with _pic libs
and mklibs was to reduce the size of the libs?


/Martin

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: