question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefined symbol: OPENSSL_sk_num

See original GitHub issue

I can’t install the aerospike client on Python 3.6 on Ubuntu 18.04:

$ python -c "import sys; print(sys.version)"
3.6.6 (default, Sep 12 2018, 18:26:19) 
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]]

$ python -c "import aerospike"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /home/gsakkis/projects/virtualenvs/aero3.6/lib/python3.6/site-packages/aerospike.cpython-36m-x86_64-linux-gnu.so: undefined symbol: OPENSSL_sk_num

$ sudo apt list libssl-dev 
Listing... Done
libssl-dev/bionic-updates,bionic-security,now 1.1.0g-2ubuntu4.1 amd64 [installed]

It does work on Python 2.7

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ttdpro98commented, Dec 7, 2020

i can’t import aerospike on python 2.7, Ubuntu 18.04 LTS. Some one can help me pls. ImportError: (‘/storage/soft/anaconda2/lib/python2.7/site-packages/aerospike.so: undefined symbol: OPENSSL_sk_num’, <function subimport at 0x7ff7d29d6668>, (‘aerospike’,))

0reactions
dwelch-spikecommented, Dec 8, 2020

Hi @ttdpro98

We are looking into this. Could you please post the version of Openssl, pip, and the Python client that you are using? How did you install the Python client? Did you use pip?

Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined symbol: OPENSSL_sk_num - python 2.7
undefined symbol : OPENSSL_sk_num · UPDATE: I'v found the problem source that in /lib/x86_64-linux-gnu directory there is an old version of libssl ...
Read more >
Error : undefined reference to symbol 'OPENSSL_sk_num ...
Hello, I'm using the ansi c client sdk and have run the Evaluation Edition with OPENSSL 1.1.0 but when i tried to build...
Read more >
Undefined reference to OPENSSL_sk_num ERR for Apache ...
I am unable to compile Apache HTTPd-2.4.54 on Linux platform. My system config: OS: 3.10.0-1160.76.1.el7.x86_64; Openssl: OpenSSL 1.1 ...
Read more >
Can't install let's encrypt: «undefined symbol
Can't install let's encrypt: «undefined symbol: OPENSSL_sk_num» ... Please fill out the fields below so we can help you better. My domain is:...
Read more >
Linking Errors when using with pre-exising libcurl and libssl
lib/libssl.a(ssl_cert.o): In function `ssl_verify_cert_chain': ssl_cert.c:(.text+0xeb8): undefined reference to `OPENSSL_sk_num' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found