alliedmodders / amxmodx

AMX Mod X - Half-Life 1 Scripting and Administration
http://www.amxmodx.org/
496 stars 197 forks source link

`amxxpc` can't run outside scripting directory #1096

Closed wopox1337 closed 6 months ago

wopox1337 commented 6 months ago

compiler failed to instantiate: ./amxxpc32.so: cannot open shared object file: No such file or directory

Снимок экрана 2024-04-09 в 08 50 50

Why?

But, it was fixed: https://github.com/alliedmodders/amxmodx/blob/27f451a868c3154a0ab0d4d70e0a650074fd485d/compiler/amxxpc/amxxpc.cpp#L54-L55

wopox1337 commented 6 months ago

Adding the folder where amxxpc32.so lies in LD_LIBRARY_PATH fixed the problem.