-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
I use cmake ./ and make to build lua.so and 'python.so'. And error occur while using.
user@host:~$ cat test.lua
python = package.loadlib("/path/to/lunatic-python/bin/lua.so", "luaopen_python")()
python.execute("import os")
python.execute("import multiprocessing")
user@host:~$ lua test.lua
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/multiprocessing/__init__.py", line 84, in <module>
import _multiprocessing
ImportError: /usr/lib/python2.7/lib-dynload/_multiprocessing.x86_64-linux-gnu.so: undefined symbol: _Py_ZeroStruct
Actually, I don't know what is the right way to build and to use .so file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels