-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Compiled python modules are linking to ubuntu's python library instead of pyenv's python version #82
Comments
You might need to set |
Thanks Yuu. Your reference (#66) works for me. |
Adding a note for anyone who wants to
|
I pushed 43212f6 which will set
|
👍 |
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead.
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead.
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead.
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead.
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead.
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead.
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead. Closes #25783. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Changes: * pyenv: Reliably detect parent shell in `pyenv init` (pyenv/pyenv#93) * pyenv: Import recent changes from rbenv 0.4.0 * pyenv: Import `bats` tests from rbenv 0.4.0 * python-build: Add new CPython releases candidates; 3.4.0b2 * python-build: Add ruby-build style patching feature (pyenv/pyenv#91) * python-build: Set `RPATH` if `--enable-shared` was given (pyenv/pyenv#65, pyenv/pyenv#66, pyenv/pyenv#82) * python-build: Update default setuptools version (2.0 -> 2.1) * python-build: Update default pip version (1.4.1 -> 1.5) * python-build: Activate friendly CPython during build if the one is not activated * python-build: Fix broken install.sh * python-build: Import recent changes from ruby-build v20131225.1 * python-build: Fix build error of CPython 2.x on the platform where the `gcc` is llvm-gcc. * version-ext-compat: Removed from default plugin. Please use [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext) instead. Closes Homebrew#25783. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
I am trying to "pyenv install 2.7.6" in ubuntu 12.04 (note this is a fresh ubuntu 12.04 install) and I am getting the following error.
By doing "ldd _sqlite3.so" found in tmp build directory, I noticed the compiled sqlite3 module is linking to Ubuntu's default python2.7, which does not have _PyInt_AsInt symbol, since it is not python 2.7.6.
Is there some compilation flag I should set such that pyenv will compile sqlite3 module using the correct python library?
I am installing python 2.7.6 using the following:
Thanks.
The text was updated successfully, but these errors were encountered: