

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.net-snmp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AFAQ%3APerl_05</id>
		<title>Template:FAQ:Perl 05 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.net-snmp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AFAQ%3APerl_05"/>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.com/wiki/index.php?title=Template:FAQ:Perl_05&amp;action=history"/>
		<updated>2026-06-18T12:44:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.net-snmp.com/wiki/index.php?title=Template:FAQ:Perl_05&amp;diff=1617&amp;oldid=prev</id>
		<title>Dts12 at 22:17, 21 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.com/wiki/index.php?title=Template:FAQ:Perl_05&amp;diff=1617&amp;oldid=prev"/>
				<updated>2006-10-21T22:17:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;No.  Almost certainly not.  If the &amp;lt;CODE&amp;gt;&amp;quot;perl/OID&amp;quot;&amp;lt;/CODE&amp;gt; tests fail the first&lt;br /&gt;
four tests, and then crashes out complaining about a &amp;lt;CODE&amp;gt;&amp;quot;netsnmp_oidPtr&amp;quot;&amp;lt;/CODE&amp;gt;,&lt;br /&gt;
then this is a sign of a more fundamental problem.&lt;br /&gt;
&lt;br /&gt;
The 4.2.x line perl support was a single module, so was independent&lt;br /&gt;
of the way that the C library was configured.  In contrast to this,&lt;br /&gt;
the 5.0.x perl support consist of a number of inter-cooperating modules,&lt;br /&gt;
which rely on sharing a consistent C library environment.  In practise,&lt;br /&gt;
this means that the perl modules &amp;#039;&amp;#039;&amp;#039;MUST&amp;#039;&amp;#039;&amp;#039; be configured and compiled using&lt;br /&gt;
a shared version of the C library.   Unfortunately, the default for&lt;br /&gt;
most early versions of the Net-SNMP suite was to compile using static&lt;br /&gt;
libraries unless explicitly configured to use shared libraries.  The&lt;br /&gt;
default should be to use shared libraries from 5.0.7 onwards.&lt;br /&gt;
&lt;br /&gt;
The error &amp;quot;oid1 is not of type netsnmp_oidPtr&amp;quot; is a fairly sure indication&lt;br /&gt;
that the C library was compiled statically.   You&amp;#039;ll need to re-configure&lt;br /&gt;
the main Net-SNMP package using the &amp;lt;CODE&amp;gt;&amp;quot;--enable-shared&amp;quot;&amp;lt;/CODE&amp;gt; configure flag.&lt;br /&gt;
Then re-install the C library before re-configuring and re-compiling&lt;br /&gt;
the perl module support.&lt;br /&gt;
&lt;br /&gt;
Note that this problem does not arise when using the 4.2.x version&lt;br /&gt;
of perl support.&lt;/div&gt;</summary>
		<author><name>Dts12</name></author>	</entry>

	</feed>