cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Debian:Jessie - Install failure: relocation error: /usr/lib/x86_64-linux-gnu/libcurl.so.4: symbol SSLv3_client_method

jkary
Cisco Employee
Cisco Employee

Hi,

I'm running a docker ubuntu container image (3.6.6-jessie) and I'm trying to do a pip3 install ydk.  I am seeing the following error:

 

pip3 install ydk
Collecting ydk
Using cached https://files.pythonhosted.org/packages/f1/db/63ebe7da93a3784b8767d5cc114297d086a3ce6a15db4e85e0c160658ba0/ydk-0.8.2.tar.gz
Requirement already satisfied: pybind11>=2.1.1 in /venv/lib/python3.6/site-packages (from ydk)
Building wheels for collected packages: ydk
Running setup.py bdist_wheel for ydk ... error
Complete output from command /venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-i77j7wbs/ydk/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp3nj4iutvpip-wheel- --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/ydk
copying ydk/exthook.py -> build/lib.linux-x86_64-3.6/ydk
copying ydk/__init__.py -> build/lib.linux-x86_64-3.6/ydk
creating build/lib.linux-x86_64-3.6/ydk/filters
copying ydk/filters/__init__.py -> build/lib.linux-x86_64-3.6/ydk/filters
creating build/lib.linux-x86_64-3.6/ydk/_core
copying ydk/_core/__init__.py -> build/lib.linux-x86_64-3.6/ydk/_core
copying ydk/_core/_importer.py -> build/lib.linux-x86_64-3.6/ydk/_core
copying ydk/_core/_dm_meta_info.py -> build/lib.linux-x86_64-3.6/ydk/_core
creating build/lib.linux-x86_64-3.6/ydk/errors
copying ydk/errors/__init__.py -> build/lib.linux-x86_64-3.6/ydk/errors
copying ydk/errors/error_handler.py -> build/lib.linux-x86_64-3.6/ydk/errors
creating build/lib.linux-x86_64-3.6/ydk/logging
copying ydk/logging/__init__.py -> build/lib.linux-x86_64-3.6/ydk/logging
creating build/lib.linux-x86_64-3.6/ydk/types
copying ydk/types/py_types.py -> build/lib.linux-x86_64-3.6/ydk/types
copying ydk/types/__init__.py -> build/lib.linux-x86_64-3.6/ydk/types
creating build/lib.linux-x86_64-3.6/ydk/path
copying ydk/path/__init__.py -> build/lib.linux-x86_64-3.6/ydk/path
creating build/lib.linux-x86_64-3.6/ydk/services
copying ydk/services/codec_service.py -> build/lib.linux-x86_64-3.6/ydk/services
copying ydk/services/__init__.py -> build/lib.linux-x86_64-3.6/ydk/services
copying ydk/services/crud_service.py -> build/lib.linux-x86_64-3.6/ydk/services
copying ydk/services/executor_service.py -> build/lib.linux-x86_64-3.6/ydk/services
copying ydk/services/netconf_service.py -> build/lib.linux-x86_64-3.6/ydk/services
creating build/lib.linux-x86_64-3.6/ydk/ext
copying ydk/ext/__init__.py -> build/lib.linux-x86_64-3.6/ydk/ext
creating build/lib.linux-x86_64-3.6/ydk/entity_utils
copying ydk/entity_utils/__init__.py -> build/lib.linux-x86_64-3.6/ydk/entity_utils
copying ydk/entity_utils/entity_utils.py -> build/lib.linux-x86_64-3.6/ydk/entity_utils
creating build/lib.linux-x86_64-3.6/ydk/providers
copying ydk/providers/codec_provider.py -> build/lib.linux-x86_64-3.6/ydk/providers
copying ydk/providers/__init__.py -> build/lib.linux-x86_64-3.6/ydk/providers
copying ydk/providers/netconf_provider.py -> build/lib.linux-x86_64-3.6/ydk/providers
creating build/lib.linux-x86_64-3.6/ydk/models
copying ydk/models/__init__.py -> build/lib.linux-x86_64-3.6/ydk/models
creating build/lib.linux-x86_64-3.6/ydk/path/sessions
copying ydk/path/sessions/__init__.py -> build/lib.linux-x86_64-3.6/ydk/path/sessions
copying ydk/path/sessions/restconf_session.py -> build/lib.linux-x86_64-3.6/ydk/path/sessions
copying ydk/path/sessions/netconf_session.py -> build/lib.linux-x86_64-3.6/ydk/path/sessions
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
cmake: relocation error: /usr/lib/x86_64-linux-gnu/libcurl.so.4: symbol SSLv3_client_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference
Traceback (most recent call last):
File "<string>", line 1, in <module>

...

 

Anyone else seeing this issue?  I can't seem to find a resolution and I'm not sure how to disable this issue.

 

Take Care

Jason

 

1 REPLY 1

balaji.bandi
VIP Guru VIP Guru
VIP Guru

I know you might have looked the requirement : 

 

http://ydk.cisco.com/py/docs/getting_started.html#system-requirements

 

check environment :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787712

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: