Discussion:
[conda] How to install Python with the --enable-shared option under Conda?
c***@gmail.com
2018-10-15 21:42:12 UTC
Permalink
Hi,


I am trying to get a python Conda environment that has a shared dylib.


With the default python installation under Conda, I am getting this:

Inside:
"~/miniconda2/envs/py37/lib/python3.7/lib-dynload"


when I run:
otool -L _ctypes.cpython-37m-darwin.so

I get this:

_ctypes.cpython-37m-darwin.so:
@rpath/libffi.6.dylib (compatibility version 7.0.0, current version
7.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1197.1.1)


As far as I remember, for the shared dylib to work, this should be
returning me something like:

_ctypes.cpython-37m-darwin.so:
/Users/me/miniconda2/envs/py37/lib/libpython3.7m.dylib (compatibility
version 3.6.0, current version 3.6.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1226.10.1)

Should I be doing something special to get the shared python lib?

Thanks.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/649ee188-a5a5-48fa-b004-1d6a81cf61f1%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...