Dynamic libraries in Linux lazarus / 32-Linux ---------------------------------------------------------------------- LemonParty · 2025-11-08 20:45 Where dynamic libraries should be placed in Linux? ---------------------------------------------------------------------- Fred vS · 2025-11-08 21:28 Quote from: LemonParty on November 08, 2025, 09:45:30 pmWhere dynamic libraries should be placed in Linux? Hello. You may take a look at https://wiki.freepascal.org/Lazarus/FPC_Libraries. To resume: If you use "external" - statically loading a dynamic library: The most common is in /lib or /usr/lib or /usr/local/lib. If you use "Loadlibrary()" - dynamically loading a dynamic library: In the directory of your choice if you use the full path of the library, or, if you only use the library name, the most common is in /lib or /usr/lib or /usr/local/lib.