devcartel / pyrfa

Open sourced Python API for Refinitiv (Thomson Reuters) Enterprise Platform.
http://devcartel.com/pyrfa
MIT License
50 stars 15 forks source link

Pyrfa looking for GLIBC_2.14 #28

Open ayofash opened 7 years ago

ayofash commented 7 years ago

Hi,

Does pyrfa work on RHEL6 builds? Running ldd on the pyrfa.so yields the below:

./pyrfa.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./pyrfa.so)

wiwat-tharateeraparb commented 7 years ago

What's the Python version you are using on RHEL6?

Most likely, you are trying to use Pyrfa for Python2.7 with Python2.6 on RHEL6. You can download PyRFA for RHEL Python2.6 from https://pypi.python.org/packages/79/83/bb4efcec4b5f19e0a2868c66ed60eac537c887bfe5dc03542bd2c3484f0b/pyrfa-8.2.0-cp26-none-manylinux1_x86_64.whl

ayofash commented 7 years ago

I'm actually using python 2.7 and trying to install the latest 8.2 pyrfa version for python 2.7 like you mentioned. I included pip install details below.

(myenv)topher@instance-1:$pip install pyrfa collecting pyrfa Downloading https://pypi.python.org/packages/19/ef/4b7d332bdb744521ba90091467c9ebc8029a39958fe1c2202794b7675aec/pyrfa-8.2.0-cp27-none-manylinux1_x86_64.whl (3.5MB) 100% |##############################| 3.5MB 247kb/s Installing collected packages: pyrfa Successfully installed pyrfa-8.2.0 (myenv)topher@instance-1:$ldd myenv/lib/python2.7/site-packages/pyrfa/pyrfa.so myenv/lib/python2.7/site-packages/pyrfa/pyrfa.so: /pyrfa.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by myenv/lib/python2.7/site-packages/pyrfa/pyrfa.so) (myenv)topher@instance-1:$python --version Python 2.7.2 (myenv)topher@instance-1:$ ldd --version ldd (GNU libc) 2.12 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper.

wiwat-tharateeraparb commented 7 years ago

This happens when the application meant for running on RHEL 7 to be run on RHEL 6. So you can upgrade your GLIB to be 2.14 by download from http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz and build it.