yara-python icon indicating copy to clipboard operation
yara-python copied to clipboard

Unable to build Sphnix documentation on macOS

Open seanthegeek opened this issue 1 year ago • 2 comments

Building Sphinx documentation works fine in Debian but fails in macOS

Running Sphinx v6.1.3

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/Users/sean/dev/yaramail/venv/lib/python3.10/site-packages/sphinx/config.py", line 351, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/Users/sean/dev/yaramail/docs/source/conf.py", line 17, in <module>
    from yaramail import __version__
  File "/Users/sean/dev/yaramail/yaramail/__init__.py", line 9, in <module>
    import yara
ImportError: dlopen(/Users/sean/dev/yaramail/venv/lib/python3.10/site-packages/yara.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_EVP_MD_get_size'

make: *** [html] Error 2

seanthegeek avatar Apr 15 '23 03:04 seanthegeek

It looks like the OpenSSL is not being found. Which method did you use for installing yara-python?

plusvic avatar Apr 17 '23 17:04 plusvic

me too, and I use pip install yara-python, it is not work.

wbr0603 avatar Jun 26 '23 07:06 wbr0603