Re: Uploaded tin 97.04.24-3 (source i386) to master
On May 5, Paul Haggart wrote
> On May 5, David Engel wrote
> > > * recompiled with libc6
> > How did you manage this since, AFAIK, ncurses hasn't been built for
> > libc6 yet.
> Is there more to converting over to libc6 than just recompiling using that
> library? Tin works fine here, and ldd says it's using libc6.
Yes, except for very rare cases, every library an application uses
must be rebuilt for libc6 as well. The reason is because some of the
interfaces to libc changed between libc5 and libc6. Examples of
things that changed are the stat and FILE structures.
Please note that mixing libc5-based and libc6-based libraries can be
very dangerous. Your program will usually link without errors and me
even appear to run correctly, but it can and will break in subtle and
mysterious ways when you least expect it.
> [phaggart:~/deb] ldd `which tin`
> libncurses.so.3.0 => /lib/libncurses.so.3.0 (0x4000f000)
> libc.so.6 => /lib/libc.so.6 (0x4004c000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
The -dev packages are supposed to be setup to prevent thing from
getting mismatched. Did you have to "force" something to get
libc6-dev installed with ncurses3.0-dev?
David Engel ODS Networks
email@example.com 1001 E. Arapaho Road
(972) 234-6400 Richardson, TX 75081
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
firstname.lastname@example.org . Trouble?
e-mail to email@example.com .