-
Notifications
You must be signed in to change notification settings - Fork 752
Libraries missing after setup.py install on OSX #392
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
Thanks -- I'll wait until it's merged.
|
@fractus the issue "System.DllNotFoundException: MonoPosixHelper" is quite known on Windows and OSX with Mono, just google it. Also you may have more tested mono installation with |
Thanks, it is working now, with a minor change in setup.py to use
|
The osx branch you originally used was mostly trying to setup Travis to test on OSX. @denfromufa we should probably delete the branch to avoid confusion in the future. @fractus interested in submitting a |
@fractus which part of the issue still remains unsolved? is it just |
@vmuriart In addition, though:
In [1]: import clr
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-a49e61dd6f13> in <module>()
----> 1 import clr
ImportError: System.DllNotFoundException: libpython2.7.so
at (wrapper managed-to-native) Python.Runtime.Runtime:Py_IsInitialized ()
at Python.Runtime.Runtime.Initialize () [0x00019] in <c13c76bbc10d436e9d26172b4b9cfd09>:0
at Python.Runtime.PythonEngine.Initialize (System.Collections.Generic.IEnumerable`1[T] args, System.Boolean setSysArgv) [0x00014] in <c13c76bbc10d436e9d26172b4b9cfd09>:0
at Python.Runtime.PythonEngine.Initialize (System.Boolean setSysArgv) [0x00005] in <c13c76bbc10d436e9d26172b4b9cfd09>:0
at Python.Runtime.PythonEngine.InitExt () [0x00000] in <c13c76bbc10d436e9d26172b4b9cfd09>:0
In [2]: NOTE: The above were run in conda environments created as described above. |
The irt to having to link the library and define I think you have multiple |
what was the output of |
@vmuriart I have recently updated to 4.6.2, and removed the previous version; is there a chance something is not done properly? I'll try with the latest mono version (4.8).
NOTE: All in new temp conda environments and new clone of this project. This is a log of all commands, if it provides any further clues, log35.txt |
@vmuriart
Just need a symbolic link to Same issue with 4.8.0. I also explicitly updated the dyld cache using Note that installing a new version using the pkg from http://www.mono-project.com/download/ removes the previous one.... |
The .so file seems to points to the correct path:
|
Thanks for testing this for us! I had a strong inkling the change fixed it, but wasn't 100% sure. From the logs, its finding the right |
A step further (no manual symbolic links; moved to 4.8.0):
I feel I'm deviating on a tangent here, so I'll just stop at this point, because with the symbolic link all works fine. |
yea. I'll leave the issue open for now in case someone else has a similar issue. I'm not sure if its an issue isolated to the setup you are using, or something else altogether. Glad to hear all else works fine though after the symlink. And thanks for the detailed troubleshooting and information |
Environment
git describe --tags
), branchmac-osx
Details
Checked out the branch, and run
python setup.py install
. This worked, after setting'PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/pkgconfig`
(see dump below)
Import fails
Still looking at this issue, just though this may take you a step further. Any help would appreciated.
Output of Step 1
The text was updated successfully, but these errors were encountered: