<?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 cannot run GDB-MIC  in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036939#M44370</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am unable to debug Xeon Phi code. I am using Intel Parallel Studio 2015 and its debugger. Specifically I am not able to run gdb-mic.&lt;/P&gt;

&lt;P&gt;I follow these steps&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;source compilervars.sh intel64
gdb-mic&lt;/PRE&gt;

&lt;P&gt;I get following error. "gdb-mic: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory".&lt;/P&gt;

&lt;P&gt;The missing libraries are found at&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/k1om-mpss-linux/lib64/libtinfo.so.5.9&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);" /&gt;
		&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/k1om-mpss-linux/lib64/libtinfo.so.5&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);" /&gt;
		&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/lib/libtinfo.so.5.9&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);" /&gt;
		&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/lib/libtinfo.so.5&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Thank you for help,&lt;/P&gt;

&lt;P&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Wed, 31 Dec 2014 13:36:14 GMT</pubDate>
    <dc:creator>Krátký__Michal</dc:creator>
    <dc:date>2014-12-31T13:36:14Z</dc:date>
    <item>
      <title>cannot run GDB-MIC</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036939#M44370</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am unable to debug Xeon Phi code. I am using Intel Parallel Studio 2015 and its debugger. Specifically I am not able to run gdb-mic.&lt;/P&gt;

&lt;P&gt;I follow these steps&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;source compilervars.sh intel64
gdb-mic&lt;/PRE&gt;

&lt;P&gt;I get following error. "gdb-mic: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory".&lt;/P&gt;

&lt;P&gt;The missing libraries are found at&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/k1om-mpss-linux/lib64/libtinfo.so.5.9&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);" /&gt;
		&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/k1om-mpss-linux/lib64/libtinfo.so.5&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);" /&gt;
		&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/lib/libtinfo.so.5.9&lt;/SPAN&gt;&lt;BR style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);" /&gt;
		&lt;SPAN style="font-size: 12px; line-height: 18px; background-color: rgb(238, 238, 238);"&gt;/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/lib/libtinfo.so.5&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Thank you for help,&lt;/P&gt;

&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2014 13:36:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036939#M44370</guid>
      <dc:creator>Krátký__Michal</dc:creator>
      <dc:date>2014-12-31T13:36:14Z</dc:date>
    </item>
    <item>
      <title>No, no, definitely don't copy</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036940#M44371</link>
      <description>&lt;P&gt;No, no, definitely don't copy or link from a file&amp;nbsp;beneath &lt;EM&gt;/opt/mpss&lt;/EM&gt; into &lt;EM&gt;/lib64&lt;/EM&gt;; at best, it won't work.&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;EM&gt;/opt/mpss/3.4.1/sysroots/k1om-mpss-linux/lib64/libtinfo.so.5.9&lt;/EM&gt; is for a different&amp;nbsp;processor architecture than your host ("k1om," binutils' name for Xeon Phi's instruction set architecture). A copy or link of this file into&amp;nbsp;&lt;EM&gt;/lib64&lt;/EM&gt; will simply be ignored.&lt;/LI&gt;
	&lt;LI&gt;&lt;EM&gt;/opt/mpss/3.4.1/sysroots/x86_64-mpsssdk-linux/lib/libtinfo.so.5.9&lt;/EM&gt; is for the x86-64 architecture, but was&amp;nbsp;linked against a&amp;nbsp;version of GLIBC that is probably different than the version&amp;nbsp;your distribution uses. A copy or link of this file into &lt;EM&gt;/lib64&lt;/EM&gt; may cause mismatched symbol version&amp;nbsp;errors.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;STRONG&gt;What you need to do is install the version of libtinfo.so provided by your Linux distribution vendor. &lt;/STRONG&gt;On RHEL or similar, something like&amp;nbsp;"yum install ncurses-libs" should do the trick.&lt;/P&gt;

&lt;P&gt;Assuming that's the problem, of course.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2014 20:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036940#M44371</guid>
      <dc:creator>Evan_P_Intel</dc:creator>
      <dc:date>2014-12-31T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Hello Evan,</title>
      <link>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036941#M44372</link>
      <description>&lt;P&gt;Hello Evan,&lt;/P&gt;

&lt;P&gt;thank you for your advice. I am using SLES 11 SP3. Ncurses is installed but there was no libtinfo inside. But I managed to find a workaround by simply linking&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;sudo ln -s /lib64/libncurses.so.5.6 /lib64/libtinfo.so.5
sudo ln -s /lib/libncurses.so.5.6 /lib/libtinfo.so.5
&lt;/PRE&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2015 00:57:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/cannot-run-GDB-MIC/m-p/1036941#M44372</guid>
      <dc:creator>Krátký__Michal</dc:creator>
      <dc:date>2015-01-02T00:57:52Z</dc:date>
    </item>
  </channel>
</rss>

