8000 Link to a specific version of sqlite3 when building Python 3 versions · Issue #333 · pyenv/pyenv · GitHub
[go: up one dir, main page]

Skip to content
Link to a specific version of sqlite3 when building Python 3 versions #333
@cilia

Description

@cilia

Hello,

I used homebrew to install/upgrade sqlite3 (the database, not the python library), and I want to build a Python 3 using the newer sqlite3 by homebrew instead of the system wide version by OS X.

I have tried the following:

env LD_RUN_PATH="/usr/local/opt" LDFLAGS="-L/usr/local/opt" CPPFLAGS="-I/usr/local/include" pyenv install 3.4.3

where /usr/local/opt and /usr/local/include are the directories where homebrew symlinks the libraries, headers and so on. But it didn't work. The linked sqlite3 linked by Python 3.4.3 is still the older version that comes with OS X.

My attempt above stems from this: http://stackoverflow.com/questions/26261080/compile-python-3-4-with-sqlite3, and my adaptation to pyenv may be wrong.

Any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0