Giter Site home page Giter Site logo

warning: ignoring file '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libssl.3.dylib': found architecture 'x86_64', required architecture 'arm64' about pyenv HOT 5 CLOSED

harsh020 avatar harsh020 commented on June 4, 2024
warning: ignoring file '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libssl.3.dylib': found architecture 'x86_64', required architecture 'arm64'

from pyenv.

Comments (5)

native-api avatar native-api commented on June 4, 2024

Please include the necessary diagnostic information as per the issue template

from pyenv.

harsh020 avatar harsh020 commented on June 4, 2024

@native-api i have updated the issue description, please let me know if I missed out anything! thanks

from pyenv.

native-api avatar native-api commented on June 4, 2024
warning: ignoring file '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libssl.3.dylib': found architecture 'x86_64', required architecture 'arm64'

You're building for Arm64 but using an x64 Homebrew.

from pyenv.

harsh020 avatar harsh020 commented on June 4, 2024

@native-api, i have tried installing dependencies using arm64 brew and then installing

CPPFLAGS="-I$(armbrew --prefix)/include" \
LDFLAGS="-L$(armbrew --prefix)/lib" \
pyenv install 3.12.0

the build passes but still there is error for readline

ModuleNotFoundError: No module named 'readline'
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?

on checking the config.log, the same warning for readline,

ld: warning: ignoring file '/usr/local/Cellar/readline/8.2.7/lib/libreadline.8.2.dylib': found architecture 'x86_64', required architecture 'arm64'

I have tried this but no luck

although I am overriding the CPPFLAGS and LDFLAGS but still it continues to take them from x86 brew.

here is the config.log, can you please help me with this?

from pyenv.

harsh020 avatar harsh020 commented on June 4, 2024

@native-api no worries i got it to work by making pyenv use x86_64 arch using

CPPFLAGS="-I$(brew --prefix)/include" \
LDFLAGS="-L$(brew --prefix)/lib" \
arch -x86_64 pyenv install 3.12.0

from pyenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.