L.DoFile does not work when i require a so in lua script #443
Unanswered
littleningmeng
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Where are you calling your Go program? Your working directory decides where to find that library. |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you do want to require scripts from relative directory (where the script is), you can try this |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, didn't see you're trying to load a .so file! Glad you have solved it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a lua script a.lua, and in this file I required a Lua so module:
and the
pb
module is a lua so in the same dir with a.luabut, when the Golang code below not work
error message:
Beta Was this translation helpful? Give feedback.
All reactions