export LD_LIBARY_PATH
时间: 2023-09-19 19:11:36 浏览: 111
mujoco环境变量报错:Missing path to your environment variable.
5星 · 资源好评率100%
LD_LIBRARY_PATH is an environment variable used in Linux and other Unix-like operating systems to specify the directories where the system should look for shared libraries when running a program. It is not directly related to programming, but rather a system configuration variable.
To export LD_LIBRARY_PATH, you can use the following command in the terminal:
```shell
export LD_LIBRARY_PATH=/path/to/library_directory
```
Replace "/path/to/library_directory" with the actual directory path where your shared libraries are located. This command will set the LD_LIBRARY_PATH variable to that directory.
Please note that LD_LIBRARY_PATH is usually used temporarily and may not persist across system reboots. If you want to make it permanent, you can add the export command to your shell configuration file, such as ".bashrc" or ".bash_profile".
阅读全文