Skip to content
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

Build cefpython .so modules using clean Python installations as in pyenv to avoid invalid symbols being embedded in the .so module #266

Closed
cztomczak opened this issue Oct 28, 2016 · 1 comment
Milestone

Comments

@cztomczak
Copy link
Owner

cztomczak commented Oct 28, 2016

Built cefpython_py27.so module using system Python 2.7.6 on Ubuntu 14.04. Then installed the package with pyenv Python 2.7.12 and tried to run the example and got error:

ImportError: /home/cz/.pyenv/versions/2.7.12/lib/python2.7
/site-packages/cefpython3/cefpython_py27.so: undefined symbol: PyFPE_jbuf

The resulting cefpython_py27.so when building using system Python is about 8.9 MB in size. When building using pyenv Python installations they are about half in size betwen 4.3 ~ 4.6 MB. Looks like there are some redundant symbols being embedded when using system Python. And this causes errors when running with a different Python installation, like the above error message about undefined symbol.

cztomczak added a commit that referenced this issue Oct 28, 2016
others.

This is CEF Python 55.1 beta release with Chrome 55 from beta channel.

Add support for Python 3.6 (#121).

Update to Cython 0.25.1 (#110).

Build cefpython .so modules using clean Python installations as in pyenv
to avoid invalid symbols being embedded in the .so module (#266).

Update CEF include/.
Update patches/.

Update compile.py. Run unit tests first and don't run gtk3 example
temporarily until #261 is fixed. Check if Cython version installed
is the same as specified in tools/requirements.txt.

Update examples - print filename when logging messages.
@cztomczak
Copy link
Owner Author

v55.1 released with fixed cefpython's Python 2.7 .so module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant