Hi everyone, I made a separate topic. In one of the libraries (it seems to be uade), it required several more dll-so. Here's a solution that works!!!
Add to the Lazarus project settings:
Project → Project Options → Compiler Options → Custom Options.For the specified folder
For example, for a nearby folder, "your_folder"
-k"-rpath=$ORIGIN/your_folder"