Getting Data In
Highlighted

Getting this error version `OPENSSL_1.0.0' not found

Path Finder

Can any one please suggest, how to fix this error:
ERROR BucketMover - coldToFrozenScript /usr/bin/python: /opt/splunk/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /usr/bin/python)

0 Karma
Highlighted

Re: Getting this error version `OPENSSL_1.0.0' not found

SplunkTrust
SplunkTrust

hey @basu42002

Add the following to the first line of your script, then save, and restart Splunk then review error messages:
unset LDLIBRARYPATH

And then restart the Splunk instance

Highlighted

Re: Getting this error version `OPENSSL_1.0.0' not found

Path Finder

Thanksfor your response, but The problem is that, this is coldToFrozenS3.py , python script.
And looks like splunk is using a different LDLIBRARYPATH.
Is there a way to resolve this problem.

Can we enforce python to use the OS LDLIBRARYPATH by any chance.

0 Karma
Highlighted

Re: Getting this error version `OPENSSL_1.0.0' not found

SplunkTrust
SplunkTrust

hey I do not know how to do the same in python script.but I have seen trying it in a .sh script and it worked
but you can refer this link: https://stackoverflow.com/questions/23244418/set-ld-library-path-before-importing-in-python
you may find some solution

0 Karma