#2719: toolchain ncurses ldconfig issue
------------------------+---------------------------------------------------
Reporter: gespinasse | Owner: lfs-b...@…
Type: task | Status: new
Priority: normal | Milestone: 6.7
Component: Book | Version: SVN
Severity: normal | Keywords:
------------------------+---------------------------------------------------
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
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2719>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page