Configuring Library Path - Configuring Library Path - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English
Execute the following commands to configure the library path.
Table 1. Commands to Configure Library Paths
Library Command
64-bit Library
export LD_LIBRARY_PATH=<compdir>/aocc-compiler-<ver>/lib:$LD_LIBRARY_PATH
32-bit Library
export LD_LIBRARY_PATH=<compdir>/aocc-compiler-<ver>/lib32:$LD_LIBRARY_PATH
Other AMD optimizing CPU libraries
export LD_LIBRARY_PATH=<Path to AMD optimizing CPU Libraries>:$LD_LIBRARY_PATH
Note: To use an alternate version of compiler libraries such as libomp, libunwind, etc., set LD_LIBRARY_PATH to the user specified path:
export LD_LIBRARY_PATH=<alternate version library path>:$LD_LIBRARY_PATH