<?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 My perl install is missing . . . something in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7227#M745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem using the perl NMSDK interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two versions of perl installed on my server, 5.8.4 and 5.16.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK is working fine with 5.8.4:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;#/usr/bin/perl apitest.pl -C /.nacerts/nmsdk_crt.pem -K /.nacerts/nmsdk_key.pem spnabu03 system-get-version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;OUTPUT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;results status="passed"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;NetApp Release 8.1.3P2 7-Mode: Fri Aug 23 20:16:59 PDT 2013&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;is-clustered&amp;gt;false&amp;lt;/is-clustered&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;/results&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 5.16.3 version fails miserably:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;#/usr/local/bin/perl apitest.pl -C /.nacerts/nmsdk_crt.pem -K /.nacerts/nmsdk_key.pem spnabu03 system-get-version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;OUTPUT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;results status="failed" reason="in Zapi::invoke, cannot connect to socket" errno="13001"&amp;gt;&amp;lt;/results&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;I have a suspicion that the problem may lay in the Net::SSLeay perl module and its interaction with the openssl library, but I'm at a loss as to how to proceed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:30:57 GMT</pubDate>
    <dc:creator>stuartlong</dc:creator>
    <dc:date>2025-06-05T05:30:57Z</dc:date>
    <item>
      <title>My perl install is missing . . . something</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7227#M745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem using the perl NMSDK interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two versions of perl installed on my server, 5.8.4 and 5.16.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDK is working fine with 5.8.4:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;#/usr/bin/perl apitest.pl -C /.nacerts/nmsdk_crt.pem -K /.nacerts/nmsdk_key.pem spnabu03 system-get-version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;OUTPUT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;results status="passed"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;NetApp Release 8.1.3P2 7-Mode: Fri Aug 23 20:16:59 PDT 2013&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;is-clustered&amp;gt;false&amp;lt;/is-clustered&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;/results&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 5.16.3 version fails miserably:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;#/usr/local/bin/perl apitest.pl -C /.nacerts/nmsdk_crt.pem -K /.nacerts/nmsdk_key.pem spnabu03 system-get-version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;OUTPUT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;results status="failed" reason="in Zapi::invoke, cannot connect to socket" errno="13001"&amp;gt;&amp;lt;/results&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;I have a suspicion that the problem may lay in the Net::SSLeay perl module and its interaction with the openssl library, but I'm at a loss as to how to proceed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:30:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7227#M745</guid>
      <dc:creator>stuartlong</dc:creator>
      <dc:date>2025-06-05T05:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: My perl install is missing . . . something</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7231#M746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shot in the dark : are you running perl 32bit on a 64bit install, which may require a 32bit version of SSLeay or openssl libraries ?&lt;/P&gt;&lt;P&gt;I think I remember something similar while playing around with perl SDK on a 64 bit CentOS installation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 04:46:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7231#M746</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2014-08-11T04:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: My perl install is missing . . . something</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7235#M747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No dice.&amp;nbsp; Both Perl interpreters are compiled 32-bit, and so is the openssl library (0.9.7).&lt;/P&gt;&lt;P&gt;I'm downloading the latest openssl and compiling it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 13:26:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7235#M747</guid>
      <dc:creator>stuartlong</dc:creator>
      <dc:date>2014-08-11T13:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: My perl install is missing . . . something</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7240#M748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Progress!&lt;/P&gt;&lt;P&gt;After running my script through the Perl debugger, I found a run-time 'require' for module Socket6, which I did not have installed.&amp;nbsp; Since the require is inside an eval block, it silently leaves a couple of variables unset (particularly $na_can_use_ipv6), which later on leads to a failure creating a socket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After installing Socket6, there is a Exporter warning (only when using -w) about a redefined subroutine, but I'm not going to sweat that right now, as the process works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For comparison:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Perl v5.8.4 (with -w)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#/usr/bin/perl -w apitest.pl -C /.nacerts/nmsdk_crt.pem -K /.nacerts/nmsdk_key.pem spnabu03pvt system-get-version&lt;BR /&gt;"my" variable $use_port masks earlier declaration in same scope at apitest.pl line 96.&lt;BR /&gt;"my" variable @option masks earlier declaration in same scope at apitest.pl line 147.&lt;BR /&gt;"my" variable $xo masks earlier declaration in same scope at apitest.pl line 344.&lt;BR /&gt;Use of uninitialized value in numeric ne (!=) at apitest.pl line 183.&lt;BR /&gt;Use of uninitialized value in numeric eq (==) at apitest.pl line 187.&lt;BR /&gt;Use of uninitialized value in numeric ne (!=) at apitest.pl line 229.&lt;BR /&gt;Use of uninitialized value in numeric eq (==) at apitest.pl line 311.&lt;BR /&gt;Use of uninitialized value in numeric eq (==) at apitest.pl line 316.&lt;BR /&gt;Use of uninitialized value in numeric gt (&amp;gt;) at apitest.pl line 319.&lt;BR /&gt;Use of uninitialized value in numeric eq (==) at apitest.pl line 332.&lt;BR /&gt;Use of uninitialized value in numeric eq (==) at ../../../../lib/perl/NetApp/NaServer.pm line 1827.&lt;BR /&gt;Use of uninitialized value in numeric ne (!=) at apitest.pl line 350.&lt;/P&gt;&lt;P&gt;OUTPUT:&lt;BR /&gt;&amp;lt;results status="passed"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;NetApp Release 8.1.3P2 7-Mode: Fri Aug 23 20:16:59 PDT 2013&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;is-clustered&amp;gt;false&amp;lt;/is-clustered&amp;gt;&lt;BR /&gt;&amp;lt;/results&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Perl v5.16.3 (with -w)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#/usr/local/bin/perl -w apitest.pl -C /.nacerts/nmsdk_crt.pem -K /.nacerts/nmsdk_key.pem spnabu03pvt system-get-version&lt;BR /&gt;Subroutine NaServer::pack_sockaddr_in6 redefined at /usr/local/lib/perl5/5.16.3/Exporter.pm line 66.&lt;BR /&gt; at ../../../../lib/perl/NetApp/NaServer.pm line 66.&lt;BR /&gt;"my" variable $use_port masks earlier declaration in same scope at apitest.pl line 96.&lt;BR /&gt;"my" variable @option masks earlier declaration in same scope at apitest.pl line 147.&lt;BR /&gt;"my" variable $xo masks earlier declaration in same scope at apitest.pl line 344.&lt;BR /&gt;Use of uninitialized value $host_equiv in numeric ne (!=) at apitest.pl line 183.&lt;BR /&gt;Use of uninitialized value $inputxml in numeric eq (==) at apitest.pl line 187.&lt;BR /&gt;Use of uninitialized value $host_equiv in numeric ne (!=) at apitest.pl line 229.&lt;BR /&gt;Use of uninitialized value $host_equiv in numeric eq (==) at apitest.pl line 311.&lt;BR /&gt;Use of uninitialized value $showxml in numeric eq (==) at apitest.pl line 316.&lt;BR /&gt;Use of uninitialized value $inputxml in numeric gt (&amp;gt;) at apitest.pl line 319.&lt;BR /&gt;Use of uninitialized value $showxml in numeric eq (==) at apitest.pl line 332.&lt;BR /&gt;Use of uninitialized value $showxml in numeric ne (!=) at apitest.pl line 350.&lt;/P&gt;&lt;P&gt;OUTPUT:&lt;BR /&gt;&amp;lt;results status="passed"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;NetApp Release 8.1.3P2 7-Mode: Fri Aug 23 20:16:59 PDT 2013&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;is-clustered&amp;gt;false&amp;lt;/is-clustered&amp;gt;&lt;BR /&gt;&amp;lt;/results&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:33:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/My-perl-install-is-missing-something/m-p/7240#M748</guid>
      <dc:creator>stuartlong</dc:creator>
      <dc:date>2014-08-11T16:33:10Z</dc:date>
    </item>
  </channel>
</rss>

