I fixed this problem. Apparently settings in my .bashrc are not inherited
by launcher applications. I have a ~/lib folder where I would put shared
object files I built and added that path it in .bashrc

LD_LIBRARY_PATH=~/lib
export LD_LIBRARY_PATH

I copied the above again in the script which launches lazarus and now I can
run/debug tests which reference libSDL2.so from lazarus.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to