<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fedora 27 and libydk installation issues in Tools</title>
    <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530699#M2617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$ c++ --version&lt;/P&gt;&lt;P&gt;c++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think I can downgrade to gcc 5.*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 11:47:51 GMT</pubDate>
    <dc:creator>Johan Marcusson</dc:creator>
    <dc:date>2018-03-21T11:47:51Z</dc:date>
    <item>
      <title>Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530693#M2611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot install the ydk without installing libydk. However I cannot install the libydk rpm as it asks for the epel-release repository. In Fedora the epel-release repository doesn't exist because everything within that repository is in the default repository for Fedora. Can I compile libydk from source or get an RPM that doesn't have the epel-release requirement? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 00:19:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530693#M2611</guid>
      <dc:creator>jbritt</dc:creator>
      <dc:date>2018-02-17T00:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530694#M2612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies I just realized I could remove the epel-release requirement myself. I used rpmrebuild to modify the requirements list and removed that entry. I was able to successfully install the libydk afterwards and then install ydk-py with pip3 install ydk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for Fedora the install process looks like this:&lt;/P&gt;&lt;P&gt;# Install all required prereqs for ydk&lt;/P&gt;&lt;P&gt;sudo dnf install libssh-devel libxml2-devel libxslt-devel pcre-devel cmake gcc-c++ python3-devel libcurl-devel clang&lt;/P&gt;&lt;P&gt;# download libydk&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;wget &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://devhub.cisco.com/artifactory/rpm-ydk/0.7.0/libydk-0.7.0-1.x86_64.rpm" rel="nofollow" target="_blank"&gt;https://devhub.cisco.com/artifactory/rpm-ydk/0.7.0/libydk-0.7.0-1.x86_64.rpm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;# Install rpm requirement editing tool&lt;/P&gt;&lt;P&gt;sudo dnf install rpmrebuild&lt;/P&gt;&lt;P&gt;# Edit RPM and remove EPEL-RELEASE&lt;/P&gt;&lt;P&gt;rpmrebuild -e -p libydk-0.7.0-1.x86_64.rpm&lt;/P&gt;&lt;P&gt;- delete "Requires:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; epel-release" and save&lt;/P&gt;&lt;P&gt;- 'y' to continue&lt;/P&gt;&lt;P&gt;cd /home/[user]/rpmbuild/RPMS/x86_64&lt;/P&gt;&lt;P&gt;# run modified RPM&lt;/P&gt;&lt;P&gt;sudo dnf install libydk-0.7.0-1.x86_64.rpm&lt;/P&gt;&lt;P&gt;# Install ydk-py&lt;/P&gt;&lt;P&gt;[sudo] pip3 install ydk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't able to find this documented anywhere, please correct me if I'm wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 01:16:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530694#M2612</guid>
      <dc:creator>jbritt</dc:creator>
      <dc:date>2018-02-17T01:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530695#M2613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update! We could update the installation document with this. Let me know in case of any further issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 18:35:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530695#M2613</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-02-17T18:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530696#M2614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, updating the documentation would be great. I have had no issues since then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 19:42:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530696#M2614</guid>
      <dc:creator>jbritt</dc:creator>
      <dc:date>2018-02-19T19:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530697#M2615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just installed the other depedencies for the rpm by hand and then installed the libydk rpm with --nodeps, but I have another issue after the installation. I've created a virtualenv and successfully installed ydk with pip, pip list output:&lt;/P&gt;&lt;P&gt;pip (9.0.2)&lt;/P&gt;&lt;P&gt;pybind11 (2.2.2)&lt;/P&gt;&lt;P&gt;setuptools (39.0.1)&lt;/P&gt;&lt;P&gt;wheel (0.30.0)&lt;/P&gt;&lt;P&gt;ydk (0.7.0)&lt;/P&gt;&lt;P&gt;ydk-models-cisco-ios-xr (6.3.1)&lt;/P&gt;&lt;P&gt;ydk-models-ietf (0.1.4)&lt;/P&gt;&lt;P&gt;ydk-models-openconfig (0.1.4)&lt;/P&gt;&lt;P&gt;But when I try to import anything or run the provided sample bgp.py I get errors from a .so file:&lt;/P&gt;&lt;P&gt;$ python bgp.py &lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "bgp.py", line 29, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ydk.types import Empty&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/home/joma03/python/ydk-py/lib/python2.7/site-packages/ydk/types/__init__.py", line 17, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from .py_types import Entity, YList, YLeafList&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/home/joma03/python/ydk-py/lib/python2.7/site-packages/ydk/types/py_types.py", line 24, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ydk_ import is_set&lt;/P&gt;&lt;P&gt;ImportError: /home/joma03/python/ydk-py/lib/python2.7/site-packages/ydk_.so: undefined symbol: _ZNK3ydk6Entity31get_bundle_yang_models_locationB5cxx11Ev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this? I'm also on Fedora 27&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 14:20:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530697#M2615</guid>
      <dc:creator>Johan Marcusson</dc:creator>
      <dc:date>2018-03-20T14:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530698#M2616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ydk python core is using C extensions which are compiled into this .so file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this issue, I remember seeing this if gcc is older version. Just checking if you have upgraded the gcc as specified in the &lt;A href="https://github.com/CiscoDevNet/ydk-py#system-requirements"&gt;README&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;# Upgrade compiler to gcc 5.*
$ yum install centos-release-scl -y &amp;gt; /dev/null
$ yum install devtoolset-4-gcc* -y &amp;gt; /dev/null
$ ln -sf /opt/rh/devtoolset-4/root/usr/bin/gcc /usr/bin/cc
$ ln -sf /opt/rh/devtoolset-4/root/usr/bin/g++ /usr/bin/c++
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output of 'c++ --version' for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:19:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530698#M2616</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-03-20T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530699#M2617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$ c++ --version&lt;/P&gt;&lt;P&gt;c++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think I can downgrade to gcc 5.*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:47:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530699#M2617</guid>
      <dc:creator>Johan Marcusson</dc:creator>
      <dc:date>2018-03-21T11:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530700#M2618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not very good at this stuff but I've tried to troubelshoot a bit on my own and I think the ydk_.so that is generated when doing pip install on the core part is not linked to my /usr/lib/libydk.a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've installed from source by doing:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;$ &lt;SPAN class="nb"&gt;cd&lt;/SPAN&gt; core&lt;/P&gt;
&lt;P&gt;core$ python setup.py sdist&lt;/P&gt;
&lt;P&gt;core$ pip install dist/ydk*.gz&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running sample/bgp.py I get:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;ImportError: /home/joma03/python/ydk-py/lib/python2.7/site-packages/ydk_.so: undefined symbol: _ZNK3ydk6Entity31get_bundle_yang_models_locationB5cxx11Ev&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;$ nm -g /home/joma03/python/ydk-py/lib/python2.7/site-packages/ydk_.so | grep _ZNK3ydk6Entity31get_bundle_yang_models_locationB5cxx11Ev&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U _ZNK3ydk6Entity31get_bundle_yang_models_locationB5cxx11Ev&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So it's undefined here, but I guess that's ok since it should be defined in the shared library distributed in the RPM?&lt;/P&gt;&lt;P&gt;And I can find a definition there:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;nm -g /usr/lib/libydk.a | grep get_bundle_yang_models_location&lt;/P&gt;
&lt;P&gt;00000000000000c0 T _ZNK3ydk6Entity31get_bundle_yang_models_locationEv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U _ZNK3ydk6Entity31get_bundle_yang_models_locationEv&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if I check what the ydk_.so from core is linked against I don't see anything pointing to the library from the RPM:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;$ ldd /home/joma03/python/ydk-py/lib/python2.7/site-packages/ydk_.so | grep ydk&lt;/P&gt;
&lt;P&gt;$&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;(no matches)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this something that should be handled in the Cmake file? I don't think I know how to fix this myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 12:57:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530700#M2618</guid>
      <dc:creator>Johan Marcusson</dc:creator>
      <dc:date>2018-03-23T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530701#M2619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please try the steps to build everything from source? Please remove the installed libydk &amp;amp; ydk python core:&lt;/P&gt;&lt;PRE&gt; rpm -q libydk
pip uninstall ydk -y&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then run &lt;A href="https://github.com/CiscoDevNet/ydk-gen#second-step-generate--install-the-core"&gt;the below steps&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;$ ./generate.py --libydk
$ cd gen-api/cpp/ydk/build
$ make

# To create the libydk binary package to use for later installation, run the below command
$ make package

# To install the compiled libydk code, run the below command after the above
$ [sudo] make install


$ ./generate.py --python --core
$ pip install gen-api/python/ydk/dist/ydk*.tar.gz

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 14:42:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530701#M2619</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-03-23T14:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530702#M2620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the reason I didn't see libydk in the ldd output is that it's statically linked. I found out that the symbols doesn't match because of the cxx11 part, and this is apparently some behavior that changed in GCC5.1 to be compatible with C++ 2011 standard? &lt;A href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html" title="https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html"&gt;https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So the reason it doesn't work is the RPM was compiled with GCC older than 5.1, right? And I'm using GCC7 when compiling ydk-py. So I tried compiling the rpm from source on my machine to get the correct ABI compatability&lt;/P&gt;&lt;P&gt;Now I get a new error when trying to do pip install on the ydk-py core:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&amp;nbsp; In file included from /home/joma03/python/ydk-py/include/site/python2.7/pybind11/operators.h:12:0,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from /tmp/pip-LW_cHq-build/python.cpp:16:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; /home/joma03/python/ydk-py/include/site/python2.7/pybind11/pybind11.h:1132:13: note: candidate: template&amp;lt;class ... Args, class ... Extra&amp;gt; pybind11::class_&amp;lt;type_, options&amp;gt;&amp;amp; pybind11::class_&amp;lt;type_, options&amp;gt;::def(pybind11::detail::initimpl::pickle_factory&amp;lt;Args ...&amp;gt;&amp;amp;&amp;amp;, const Extra&amp;amp; ...) [with Args = {Args ...}; Extra = {Extra ...}; type_ = ydk::NetconfService; options = {}]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class_ &amp;amp;def(detail::initimpl::pickle_factory&amp;lt;Args...&amp;gt; &amp;amp;&amp;amp;pf, const Extra &amp;amp;...extra) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^~~&lt;/P&gt;
&lt;P&gt;&amp;nbsp; /home/joma03/python/ydk-py/include/site/python2.7/pybind11/pybind11.h:1132:13: note:&amp;nbsp;&amp;nbsp; template argument deduction/substitution failed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; /tmp/pip-LW_cHq-build/python.cpp:955:82: note:&amp;nbsp;&amp;nbsp; mismatched types ‘pybind11::detail::initimpl::pickle_factory&amp;lt;Args ...&amp;gt;’ and ‘const char [12]’&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arg("error_option") = std::string{""}, return_value_policy::reference)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/P&gt;
&lt;P&gt;&amp;nbsp; gmake[2]: *** [CMakeFiles/ydk_.dir/build.make:63: CMakeFiles/ydk_.dir/python.cpp.o] Error 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; gmake[2]: Leaving directory '/tmp/pip-LW_cHq-build/build/temp.linux-x86_64-2.7'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; gmake[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/ydk_.dir/all] Error 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp; gmake[1]: Leaving directory '/tmp/pip-LW_cHq-build/build/temp.linux-x86_64-2.7'&lt;/P&gt;
&lt;P&gt;&amp;nbsp; gmake: *** [Makefile:84: all] Error 2&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 14:48:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530702#M2620</guid>
      <dc:creator>Johan Marcusson</dc:creator>
      <dc:date>2018-03-23T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530703#M2621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the libydk RPM was generated using 5.3.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;cc --version
cc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.&amp;nbsp; There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the new error, it looks like there is some issue with pybind11 and gcc7. Can you please check the version of pybind11 you have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;pip list|grep pybind&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 15:16:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530703#M2621</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-03-23T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530704#M2622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok sure:&lt;/P&gt;&lt;P&gt;$ pip list|grep pybind&lt;/P&gt;&lt;P&gt;pybind11 (2.2.2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:51:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530704#M2622</guid>
      <dc:creator>Johan Marcusson</dc:creator>
      <dc:date>2018-03-27T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530705#M2623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas about pybind?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:22:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530705#M2623</guid>
      <dc:creator>Johan Marcusson</dc:creator>
      <dc:date>2018-04-03T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 27 and libydk installation issues</title>
      <link>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530706#M2624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay. I was able to install and run ydk 0.7.0 on Fedora27 with the below steps on a fresh Fedora27 image:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;# Install system dependencies
yum install git which libxml2-devel libxslt-devel libssh-devel libtool gcc-c++ pcre-devel cmake wget curl-devel unzip python-devel python-pip make go sudo rpm-build redhat-lsb l -y

# Install libydk from source
git clone https://github.com/CiscoDevNet/ydk-gen.git
cd ydk-gen
git checkout 0.7.0
pip install -r requirements.txt
./generate.py --core --cpp
make -C gen-api/cpp/ydk/build install

# Install ydk-py packages
pip install ydk
pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-ietf
pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-openconfig
pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-cisco-ios-xr
pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-cisco-ios-xe

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 17:24:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/fedora-27-and-libydk-installation-issues/m-p/3530706#M2624</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-04-05T17:24:17Z</dc:date>
    </item>
  </channel>
</rss>

