python 3.7 OPENSSL_sk_num error

Open
#108 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
security

Research direction

Start by reproducing the yara module import under Python 3.7.2 with OpenSSL 1.1.0g and inspect the generated yara.cpython-37m-x86_64-linux-gnu.so for its OpenSSL linkage. Done means the module imports successfully in the reported environment without the undefined OPENSSL_sk_num symbol error.

Written by the indexing model from the issue text.

Description

Attempt to import yara module under Python 3.7.2. will show import error

ImportError: /<virtual_environment_path> /lib/python3.7/site-packages/yara.cpython-37m-x86_64-linux-gnu.so: undefined symbol: OPENSSL_sk_num

openssl version affected : 1.1.0g

After some research, some suggest that affected module are not pointing to the correct openssl library contains OPENSSL_sk_num symbol.

To work around this problem , I downgrade my python working environment from 3.7 to 3.6.

Dominant language
C
Stars
754
Forks
190
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from VirusTotal/yara-python

All issues in VirusTotal/yara-python

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.