Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 1998 12:28:03 -0400 (EDT)
From:      Brian Feldman <green@zone.syracuse.net>
To:        Vallo Kallaste <vallo@matti.ee>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Cannot use sysinstall
Message-ID:  <Pine.BSF.4.04.9809261222310.13355-100000@zone.syracuse.net>
In-Reply-To: <19980926061401.A510@matti.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.04.9809261222310.13355-100000>