Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 19:02:49 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Jeremy Chadwick <koitsu@freebsd.org>, Tsu-Fan Cheng <tfcheng@gmail.com>
Subject:   Re: port upgrade problem: libncurses.so.5.6 not found
Message-ID:  <200811131902.50999.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <f84c38580811130917p69cfb4demf4a9adaca484b6a@mail.gmail.com>
References:  <00163630f62951e942045b946224@google.com> <200811131802.12893.fbsd.questions@rachie.is-a-geek.net> <f84c38580811130917p69cfb4demf4a9adaca484b6a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 November 2008 18:17:02 Tsu-Fan Cheng wrote:
> Mel, thank you for your help, here is the output:
>
> /usr/local/bin/xgettext:
> 	libgettextsrc-0.17.so => /usr/local/lib/libgettextsrc-0.17.so (0x280a9000)
> 	libgettextlib-0.17.so => /usr/local/lib/libgettextlib-0.17.so (0x280de000)
> 	libcroco-0.6.so.3 => /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
> 	libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x281ef000)
> 	libz.so.4 => /lib/libz.so.4 (0x2831b000)
> 	libm.so.5 => /lib/libm.so.5 (0x2832d000)
> 	libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x28342000)
> 	libicui18n.so.38 => /usr/local/lib/libicui18n.so.38 (0x283f1000)
> 	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28559000)
> 	libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28562000)
> 	libncurses.so.5.6 => not found (0x0)
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libbsdxml.so.3 => /lib/libbsdxml.so.3 (0x28685000)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)

FreeBSD 7

> /usr/local/lib/libgettextsrc-0.17.so:
> 	libgettextlib-0.17.so => /usr/local/lib/libgettextlib-0.17.so (0x280de000)
> 	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28559000)
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libgettextlib-0.17.so:
> 	libcroco-0.6.so.3 => /usr/local/lib/libcroco-0.6.so.3 (0x281bb000)
> 	libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x281ef000)
> 	libz.so.4 => /lib/libz.so.4 (0x2831b000)
> 	libm.so.5 => /lib/libm.so.5 (0x2832d000)

Also FreeBSD 7

> 	libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x28342000)
> 	libicui18n.so.38 => /usr/local/lib/libicui18n.so.38 (0x283f1000)
> 	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28559000)
> 	libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28562000)
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libncurses.so.5.6 => not found (0x0)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libcroco-0.6.so.3:
> 	libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x28342000)
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x281ef000)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libxml2.so.5:
> 	libz.so.4 => /lib/libz.so.4 (0x2831b000)
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libm.so.5 => /lib/libm.so.5 (0x2832d000)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /lib/libz.so.4:
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /lib/libm.so.5:
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libglib-2.0.so.0:
> 	libicui18n.so.38 => /usr/local/lib/libicui18n.so.38 (0x283f1000)
> 	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28559000)
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28562000)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libicui18n.so.38:
> 	libicuuc.so.38 => /usr/local/lib/libicuuc.so.38 (0x287a4000)
> 	libicudata.so.38 => /usr/local/lib/libicudata.so.38 (0x288b9000)
> 	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x29390000)
> 	libm.so.4 => /lib/libm.so.4 (0x2945b000)

FreeBSD 6

> /usr/local/lib/libintl.so.8:
> 	libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28591000)
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libpcre.so.0:
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /lib/libbsdxml.so.3:
> 	libc.so.7 => /lib/libc.so.7 (0x286a3000)
> /usr/local/lib/libicuuc.so.38:
> 	libicudata.so.38 => /usr/local/lib/libicudata.so.38 (0x288b9000)
> 	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x29390000)

FreeBSD 6

> 	libm.so.4 => /lib/libm.so.4 (0x2945b000)
> /usr/lib/libstdc++.so.5:
> 	libm.so.4 => /lib/libm.so.4 (0x2945b000)

Your system has stale libraries from the updates and linking is messy. It does 
not adequately explain the .5.6 library version numbers, but your system is 
in need of cleaning.

Specifically, you forgot to do 'make delete-old-libs' when you upgraded from 6 
to 7 (and maybe from 5 to 6 as well,tho there's no evidence of that in this 
mail).

The best course of action is to go into /usr/src and type:
# make delete-old
# make delete-old-libs

Delete everything that the program offers you to delete. Then drop to single 
user mode, so that no services are running and recompile *all* ports, using 
portupgrade -fa. you may need to do /etc/rc.d/netif start, so you can 
download stuff.

I'm quite confident this will fix your problems, even tho it gives no 
explanation for this rogue ncurses library. 
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811131902.50999.fbsd.questions>