<?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 Can't find library libmkl_intel_lp64 OS X in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098442#M23699</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;using&amp;nbsp;&lt;/SPAN&gt;OS X&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;10.10.3 with fresh install of&amp;nbsp;&lt;/SPAN&gt;mkl and Eclipse MARS.2&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;from the command line I run:&lt;/P&gt;

&lt;P&gt;gcc nec2c.o somnec.o misc.o &lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d7391e"&gt;-l&lt;/SPAN&gt; /opt/intel/mkl/lib/lib&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;and get&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #000000"&gt;ld: library not found for &lt;/SPAN&gt;-l/opt/intel/mkl/lib/libmkl_intel_lp64&lt;/P&gt;

&lt;P&gt;but it is there:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;ls /opt/intel/mkl/lib/libmkl_intel_lp64.a&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;/opt/intel/mkl/lib/libmkl_intel_lp64.a&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;BUT... if I leave out the '-l' flag, the file&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;is found and linked (and, of course, results in&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;many other unresolved references).&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;If I put in the '-L' flag to point to the directory&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;and just '-llibmkl_intel_lp64' I get the same results.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;Any idea why gcc can't find the libraries? &amp;nbsp;Is there a&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;file or directory privileges issue, perhaps?&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;thanks....&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 21:10:38 GMT</pubDate>
    <dc:creator>edward_h_1</dc:creator>
    <dc:date>2016-04-20T21:10:38Z</dc:date>
    <item>
      <title>Can't find library libmkl_intel_lp64 OS X</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098442#M23699</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;using&amp;nbsp;&lt;/SPAN&gt;OS X&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;10.10.3 with fresh install of&amp;nbsp;&lt;/SPAN&gt;mkl and Eclipse MARS.2&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;from the command line I run:&lt;/P&gt;

&lt;P&gt;gcc nec2c.o somnec.o misc.o &lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #d7391e"&gt;-l&lt;/SPAN&gt; /opt/intel/mkl/lib/lib&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;and get&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures; color: #000000"&gt;ld: library not found for &lt;/SPAN&gt;-l/opt/intel/mkl/lib/libmkl_intel_lp64&lt;/P&gt;

&lt;P&gt;but it is there:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;ls /opt/intel/mkl/lib/libmkl_intel_lp64.a&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;/opt/intel/mkl/lib/libmkl_intel_lp64.a&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;BUT... if I leave out the '-l' flag, the file&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;is found and linked (and, of course, results in&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;many other unresolved references).&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;If I put in the '-L' flag to point to the directory&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;and just '-llibmkl_intel_lp64' I get the same results.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;Any idea why gcc can't find the libraries? &amp;nbsp;Is there a&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;file or directory privileges issue, perhaps?&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 14px; line-height: normal; font-family: Monaco;"&gt;thanks....&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:10:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098442#M23699</guid>
      <dc:creator>edward_h_1</dc:creator>
      <dc:date>2016-04-20T21:10:38Z</dc:date>
    </item>
    <item>
      <title>Folks:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098443#M23700</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Folks:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Sorry to have bothered you...&lt;BR /&gt;
	&lt;BR /&gt;
	turns out you should leave out the 'lib' in 'libmkl_intel_lp64'.&lt;BR /&gt;
	&lt;BR /&gt;
	Not sure how I should have known it but... well... there it is.&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks to all who took the time.&lt;/P&gt;

&lt;P&gt;ward&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 21:20:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098443#M23700</guid>
      <dc:creator>edward_h_1</dc:creator>
      <dc:date>2016-04-20T21:20:44Z</dc:date>
    </item>
    <item>
      <title>The topic of standard library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098444#M23701</link>
      <description>&lt;P&gt;The topic of standard library naming, creation and usage conventions in Unix/Linux is something that is worth becoming familiar with.&lt;/P&gt;

&lt;P&gt;See, for example,&amp;nbsp;http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html .&lt;/P&gt;

&lt;P&gt;In particular, note that the&amp;nbsp;&lt;STRONG&gt;-l&lt;/STRONG&gt; (lower case L) and &lt;STRONG&gt;-L&lt;/STRONG&gt;&amp;nbsp;linker options (usually passed by compiler drivers to the linker &lt;STRONG&gt;ld&lt;/STRONG&gt;, or directly to &lt;STRONG&gt;ld&lt;/STRONG&gt;) have quite different meanings.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 01:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-find-library-libmkl-intel-lp64-OS-X/m-p/1098444#M23701</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-04-21T01:40:00Z</dc:date>
    </item>
  </channel>
</rss>

