﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2719	toolchain ncurses ldconfig issue	Gilles Espinasse	lfs-book@…	"ncurses is the only toolchain package that use ldconfig without -n /tools/lib

For that reason, on jhalf, this happen
{{{
cd /tools/lib && (rm -f libcurses.so; ln -s libncurses.so.5.7 libcurses.so; )
test -z """" && /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[2]: [/tools/lib/libncurses.so.5.7] Error 1 (ignored)
}}}
{{{
cd /tools/lib && (rm -f libpanel.so.5; ln -s libpanel.so.5.7 libpanel.so.5; rm -f libpanel.so; ln -s libpanel.so.5 libpanel.so; )
test -z """" && /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[2]: [/tools/lib/libpanel.so.5.7] Error 1 (ignored)
}}}
{{{
cd /tools/lib && (rm -f libmenu.so.5; ln -s libmenu.so.5.7 libmenu.so.5; rm -f libmenu.so; ln -s libmenu.so.5 libmenu.so; )
test -z """" && /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[2]: [/tools/lib/libmenu.so.5.7] Error 1 (ignored)
}}}
{{{
cd /tools/lib && (rm -f libform.so.5; ln -s libform.so.5.7 libform.so.5; rm -f libform.so; ln -s libform.so.5 libform.so; )
test -z """" && /sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[2]: [/tools/lib/libform.so.5.7] Error 1 (ignored)
}}}

A way to workaround that is to pass to configure LDCONFIG.


I tested this to work

{{{
LDCONFIG=""/sbin/ldconfig -n /tools/lib"" ./configure
}}}


The real fix should be that ncurses honor the information printed in Configuration summary, that libdir is in /tools/lib"	task	closed	normal	6.7	Book	SVN	normal	wontfix		
