dockenstack icon indicating copy to clipboard operation
dockenstack copied to clipboard

Can not locate liberasurecode.so.1

Open jmcollin78 opened this issue 9 years ago • 8 comments

Hello,

When trying to install I facing the following error:

Running setup.py install for PyECLib: started
    Running setup.py install for PyECLib: finished with status 'error'
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-eYTMrQ/PyECLib/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-4FyJt9-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    **************************************************************
    ***
    *** Can not locate liberasurecode.so.1
    ***
    *** Install -
    ***   Manual: https://bitbucket.org/tsg-/liberasurecode.git
    ***   Fedora/Red Hat variants: liberasurecode-devel
    ***   Debian/Ubuntu variants: liberasurecode-dev
    ***
    **************************************************************

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-eYTMrQ/PyECLib/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-4FyJt9-record/install-record.txt --single-version-externally-managed --compile" failed with error code 255 in /tmp/pip-build-eYTMrQ/PyECLib/
/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
ERROR: Service 'dockenstack' failed to build: The command '/bin/sh -c /usr/local/bin/pip install --proxy ${proxy_credentials} -r https://raw.github.com/openstack/requirements/master/global-requirements.txt' returned a non-zero code: 1

Have someone found what is going wrong ?

jmcollin78 avatar Jul 18 '16 12:07 jmcollin78

Same problems here. Someone has solution?

hungvminh avatar Jun 01 '17 08:06 hungvminh

same here

ehudkaldor avatar Feb 01 '18 06:02 ehudkaldor

Did you find the fix?

fsejoseph avatar Feb 18 '19 17:02 fsejoseph

i am a little involved with the OpenStack developers, so: there is a fix proposed, that uses liberasurecode's liberasurecode_get_version() to get the version, and only then fail back to parsing the lib filename. liberasurecode_get_version is available since 1.4.

https://review.openstack.org/#/c/636748/

ehudkaldor avatar Feb 18 '19 19:02 ehudkaldor

did you try ?

 sudo apt-get install liberasurecode-dev 

benoit-bertholon avatar Oct 22 '19 10:10 benoit-bertholon

did you try ?

 sudo apt-get install liberasurecode-dev 

yup, liberasurecode-dev is needed for installing pyEClib. after you have it installed, you can remove -dev.

ehudkaldor avatar Oct 22 '19 22:10 ehudkaldor

Windows users, sudo apt-get install liberasurecode-dev doesn't work.

bonkeydcow avatar Aug 10 '23 13:08 bonkeydcow

did you try ?

 sudo apt-get install liberasurecode-dev 

WSL user, it worked when pip install swift

20302010018 avatar Apr 09 '24 13:04 20302010018