mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
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:
parent
21d13a4831
commit
95d0a04237
@ -157,7 +157,7 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>echo "/opt/llvm3/lib" >> /etc/ld.so.conf &&
|
||||
make install &&
|
||||
ldconfig &&
|
||||
/sbin/ldconfig &&
|
||||
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>
|
||||
|
||||
|
@ -216,7 +216,7 @@ make</userinput></screen>
|
||||
user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install-strip &&
|
||||
ldconfig &&
|
||||
/sbin/ldconfig &&
|
||||
make texlinks &&
|
||||
mkdir -pv /opt/texlive/&texlive-year;/tlpkg/TeXLive/ &&
|
||||
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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user