Changeset d8888f7
- Timestamp:
- 10/09/2022 12:23:00 PM (18 months ago)
- Branches:
- xry111/rust-wip-20221008
- Children:
- 17c3817
- Parents:
- 50e90ce
- git-author:
- Xi Ruoyao <xry111@…> (10/09/2022 12:22:33 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (10/09/2022 12:23:00 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/glibc.xml
r50e90ce rd8888f7 470 470 EOF</userinput></screen> 471 471 472 <para> If desired, the dynamic loader can also search a directory and472 <para>The dynamic loader can also search a directory and 473 473 include the contents of files found there. Generally the files in 474 474 this include directory are one line specifying the desired library path. 475 To add this capability run the following commands:</para>476 477 <screen role="nodump"><userinput>cat >> /etc/ld.so.conf << "EOF"475 Add this capability:</para> 476 477 <screen><userinput>cat >> /etc/ld.so.conf << "EOF" 478 478 <literal># Add an include directory 479 479 include /etc/ld.so.conf.d/*.conf … … 481 481 EOF 482 482 mkdir -pv /etc/ld.so.conf.d</userinput></screen> 483 484 <para>Tell the dynamic loader how to find the libraries for Rustc:</para> 485 486 <screen><userinput>echo /opt/rustc/lib > /etc/ld.so.conf.d/rust.conf 487 ldconfig</userinput></screen> 483 488 484 489 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.