Git Product home page Git Product logo

Comments (5)

vido89 avatar vido89 commented on September 1, 2024

servo/servo#15293

from pyrit.

Tagz133 avatar Tagz133 commented on September 1, 2024

servo/servo#15293

I used the commands

export OPENSSL_INCLUDE_DIR="$(brew --prefix openssl)/include"
export OPENSSL_LIB_DIR="$(brew --prefix openssl)/lib"

But when trying to build Pyrit (using sudo python2 setup.py build), I receive the same error.

from pyrit.

vido89 avatar vido89 commented on September 1, 2024

do you have installed libpcap-dev and libssl-dev not sure is that correct name form MacOS

from pyrit.

Tagz133 avatar Tagz133 commented on September 1, 2024

On MacOS I'm sure libpcap-dev is acutally libpcap but I'm unsure of what the MacOS alternative of libssl-dev is. I have openssl which seems to contain libssl so in the end I do have both libpcap-dev and libssl-dev but the MacOS versions.

from pyrit.

Tagz133 avatar Tagz133 commented on September 1, 2024

I found the solution.
When I ran brew info openssl I got my answer:

openssl@3 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides LibreSSL.

If you need to have openssl@3 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl@3 you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"

For pkg-config to find openssl@3 you may need to set:
  export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"

So I ran the commands for compilers to find openssl@3 and it worked!

from pyrit.

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.