harfang3d / dogfight-sandbox-hg1

Air to air combat game, created in Python 3 using HARFANG 3D.
MIT License
71 stars 31 forks source link

liblua53.so: cannot open shared object file: No such file or directory #9

Closed muraatozbek closed 3 years ago

muraatozbek commented 3 years ago

Getting error when run the main.py How can i solve it? import harfang as hg File "/home/ozbek/.local/lib/python3.5/site-packages/harfang/init.py", line 1, in from .harfang import * ImportError: liblua53.so: cannot open shared object file: No such file or directory

cudanexus commented 3 years ago

Add liblua53.so from the /home/ozbek/.local/lib/python3.5/site-packages/harfang/ folder to /usr/local/lib here is the step to do that go to below directory
sudo cp /home/ozbek/.local/lib/python3.5/site-packages/harfang/liblua53.so /usr/local/lib/liblua53.so and run sudo ldconfig this will solve your issue.

astrofra commented 3 years ago

Thanks for the help, @cudanexus :)