port upgrade problem: libncurses.so.5.6 not found

Tsu-Fan Cheng tfcheng at gmail.com
Thu Nov 13 12:41:26 PST 2008


what would happen if I don't compile ports all over again? will my
system crash?

TFC

On Thu, Nov 13, 2008 at 1:02 PM, Mel
<fbsd.questions at rachie.is-a-geek.net> wrote:
> 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.
>


More information about the freebsd-questions mailing list