From owner-freebsd-current Sat Sep 26 09:31:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20596 for freebsd-current-outgoing; Sat, 26 Sep 1998 09:31:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zone.syracuse.net (zone.syracuse.net [205.232.47.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20569 for ; Sat, 26 Sep 1998 09:31:20 -0700 (PDT) (envelope-from green@zone.syracuse.net) Received: from localhost (green@localhost) by zone.syracuse.net (8.8.8/8.8.7) with ESMTP id MAA13756; Sat, 26 Sep 1998 12:28:03 -0400 (EDT) Date: Sat, 26 Sep 1998 12:28:03 -0400 (EDT) From: Brian Feldman To: Vallo Kallaste cc: freebsd-current@FreeBSD.ORG Subject: Re: Cannot use sysinstall In-Reply-To: <19980926061401.A510@matti.ee> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Do you want the long answer or the short answer? Since you didn't use the -q (quiet) argument in the subject, I think you may want the long one *g* Here we go: 1. ld will work with libraries of any name. Hence it will link with a libncurses.so.4. 2. ld.so itself likes libraries with majors _AND_ minors, not just majors, so when ld.so looks at the a.out headers and reads libncurses.so.4 it looks for libncurses.so.4.-1 3. there is no libncurses.so.4.-1; there _SHOULD_ be something like libncurses.so.4.0, as with no major and minor, it's not really right at all, now is it? 4. Biggest question: why is your /usr/lib/aout polluted? Libncurses.so.4 would be referring to a newer version, not the one in the FreeBSD source tree, and not the intended one to be used. I would assume if you copied it from /usr/local/lib to there it's alright and you just missed libncurses.so.4.0. If that's not the case, you've got something wrong when libncurses isn't being installed to /usr/local/lib (not the one in the source tree) 5. Why the heck do you even have to ask this, rather than recompiling sysinstall? *LART* Cheers, Brian Feldman On Sat, 26 Sep 1998, Vallo Kallaste wrote: > Hello ! > > I can't use sysinstall for a week or so, it complains about missing > libncurses.so.4.-1. Though I see libncurses.so.4 under /usr/lib/aout, but > ldconfig doesn't pick it up in any way. My system runs aout current, cvsup'd > and world maked about 3 hours ago. What I'm missing here ? > > myhakas# /stand/sysinstall > ld.so failed: Can't find shared library "libncurses.so.4.-1" > myhakas# pwd > /usr/lib/aout > myhakas# ls -la libn* > -r--r--r-- 1 root wheel 74748 Sep 26 04:52 libncurses.a > -r--r--r-- 1 root wheel 69135 Sep 26 04:52 libncurses.so.3.1 > -r--r--r-- 1 root wheel 269438 Sep 16 14:03 libncurses.so.4 > myhakas# ldd /stand/sysinstall > /stand/sysinstall: > -ldialog.3 => /usr/lib/aout/libdialog.so.3.0 (0x20057000) > -lncurses.3 => /usr/lib/aout/libncurses.so.3.1 (0x2006c000) > -lmytinfo.2 => /usr/lib/aout/libmytinfo.so.2.0 (0x2007c000) > -lncurses.4 => not found (0x0) > -lutil.2 => /usr/lib/aout/libutil.so.2.2 (0x20091000) > -lftpio.4 => /usr/lib/aout/libftpio.so.4.0 (0x20097000) > -lc.3 => /usr/lib/aout/libc.so.3.1 (0x2009b000) > > Ldconfig likes only libncurses.so.3.1 and it's interesting to know why :) Not > that I'm missing sysinstall very much, but it saves my time sometimes. Can > anybody enlighten me ? > > Thanks > > > Vallo Kallaste > vallo@matti.ee > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message