Skip to content

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

Closed

Description

@cztomczak

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.

Activity

  1. cztomczak commented on Oct 28, 2016

    @cztomczak
    OwnerAuthor

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

  2. modified the milestones: v55, v54 on Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions