Use /sbin/ldconfig instead of just 'ldconfig' in llvm3 and texlive so that it can work if /sbin is not on root's PATH, e.g. after sudo.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18820 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2017-06-11 21:34:19 +00:00
parent 21d13a4831
commit 95d0a04237
2 changed files with 4 additions and 4 deletions

View File

@ -157,7 +157,7 @@ make</userinput></screen>
<screen role="root"><userinput>echo "/opt/llvm3/lib" >> /etc/ld.so.conf &amp;&amp;
make install &amp;&amp;
ldconfig &amp;&amp;
/sbin/ldconfig &amp;&amp;
ln -sfv /opt/llvm3/bin/FileCheck /usr/bin</userinput></screen>
<para>
@ -181,7 +181,7 @@ ln -sfv /opt/llvm3/bin/FileCheck /usr/bin</userinput></screen>
</para>
<para>
<parameter>ldconfig</parameter>: This ensures the libraries can be
<parameter>/sbin/ldconfig</parameter>: This ensures the libraries can be
found.
</para>

View File

@ -216,7 +216,7 @@ make</userinput></screen>
user:</para>
<screen role="root"><userinput>make install-strip &amp;&amp;
ldconfig &amp;&amp;
/sbin/ldconfig &amp;&amp;
make texlinks &amp;&amp;
mkdir -pv /opt/texlive/&texlive-year;/tlpkg/TeXLive/ &amp;&amp;
install -v -m644 ../texk/tests/TeXLive/* /opt/texlive/&texlive-year;/tlpkg/TeXLive/</userinput></screen>
@ -280,7 +280,7 @@ mtxrun --generate</userinput></screen>
</para>
<para>
<command>ldconfig</command>: this has to be run here so that <command>make
<command>/sbin/ldconfig</command>: this has to be run here so that <command>make
texlinks</command> can use kpsewhich.
</para>