-
Notifications
You must be signed in to change notification settings - Fork 751
Cannot init libpython3.5.so from dotnet core 2.0 in Ubuntu #565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How did you install and why you cannot use Mono? |
The problem relates to PYTHON_WITH_PYMALLOC constant. Currently under linux Python.Net was debugged only with libpython3.5m.so libraries |
Please try to build Python.Net from scratch solely under linux. Probably some Windows builded files was used (from shared folder for example) |
@dmitriyse doesn't setup.py detect PYTHON_WITH_PYMALLOC during installation? |
I never faced in my practiace with the case when PYTHON_WITH_PYMALLOC was not detected. |
Closed in favour of #984, we will pass the library name more dynamically in the future which will resolve issues like this and similar problems. |
Environment
Details
I'm trying to run simple c# test app (x64), which calls python "helloworld" script.
The code works perfectly in Windows Server 2008, but doesn't work in Ubuntu 16.04
I've added some Console.Writeline outputs. The library crushes in PythonEngine.Initialize() method.
Maybe I've used wrong conditional compilation symbols or RTLD_GLOBAL/RTLD_SHARED constants. Can you please write a list of conditional compilation symbols to compile the library for dotnet core 2.0 in Ubuntu or publish compiled library?
The text was updated successfully, but these errors were encountered: