CiscoDevNet / ydk-py

This project has been archived and the repository will no longer be updated. Python SDK generated from YANG data models.

Home Page:http://ydk.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shared Libraries Error while installing ydk

sindhujit opened this issue · comments

Hi,
While installing ydk through "pip install ydk", I am getting the following error:

/tmp/pip-install-5vc0wm56/ydk/python.cpp:541:39: warning: unused parameter ‘left’ [-Wunused-parameter]
             .def("__eq__", [](ydk::Empty& left, ydk::Empty& right)
                                           ^
    /tmp/pip-install-5vc0wm56/ydk/python.cpp:541:57: warning: unused parameter ‘right’ [-Wunused-parameter]
             .def("__eq__", [](ydk::Empty& left, ydk::Empty& right)
                                                             ^
    /tmp/pip-install-5vc0wm56/ydk/python.cpp:545:39: warning: unused parameter ‘left’ [-Wunused-parameter]
             .def("__ne__", [](ydk::Empty& left, ydk::Empty& right)
                                           ^
    /tmp/pip-install-5vc0wm56/ydk/python.cpp:545:57: warning: unused parameter ‘right’ [-Wunused-parameter]
             .def("__ne__", [](ydk::Empty& left, ydk::Empty& right)
                                                             ^
    [100%] Linking CXX shared module ../lib.linux-x86_64-3.6/ydk_.so
    /opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: /usr/local/lib/libpython3.6m.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
    /usr/local/lib/libpython3.6m.a: error adding symbols: Bad value

This repo doesn't accept any issues directly. If you believe there is an issue in YDK that needs to be addressed, please open it in the CiscoDevNet/ydk-gen repo. Thanks.