Referencing DLLs in Functions
- By default, the root directory and the lib folder in this directory have been configured in the LD_LIBRARY_PATH environment variable. You only need to add dynamic link libraries (DLLs) here.
- You can directly modify the LD_LIBRARY_PATH variable in the code.
- If the dependent .so file is stored in a non-root directory, specify the directory in the LD_LIBRARY_PATH variable on the Configuration tab page.
In the following example, /opt/function/code indicates the project directory of the function code.

- If a library in a mounted file system is used, specify its directory in the LD_LIBRARY_PATH variable on the Configuration tab page.
Last Article: Function Project Packaging Rules
Next Article: Initializer
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.