pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
306 stars 72 forks source link

/path/to/compiler/bin/pawncc: error while loading shared libraries: libpawnc.so: cannot open shared object file: No such file or directory #660

Closed Zorono closed 3 years ago

Zorono commented 3 years ago

Issue description:

Information that could be useful:

Workspace Information:

Zeex commented 3 years ago

Where did you put libpawnc.so? It must be placed in some lib directory well known by ld (/usr/lib, /usr/local/lib, etc). I think you also need to run ldconfig after copying the .so file into one of those dirs.

There also other ways to tell ld where to look for it, e.g.: LD_LIBRARY_PATH variable.