<?xml version="1.0" encoding="windows-1252"?>
<node id="929153" title="Re: Change in Berkeley DB in Perl 5.12?" created="2011-10-02 10:45:40" updated="2011-10-02 10:45:40">
<type id="11">
note</type>
<author id="901898">
armstd</author>
<data>
<field name="doctext">
&lt;p&gt;Did you switch from 32bit to 64bit Perl (or vice versa) in the process?  I don't believe BerkeleyDB is platform-independent in terms of integer representation, so endian and size matter.
&lt;/p&gt;
&lt;p&gt;It would help if you gave more information, like the errors you're seeing, what you've done to debug this already, and so on.  There's not much to work with here.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; Oh, I also recall that changing your underlying BerkeleyDB version will also break things, perhaps Lion moved you forward a version.  In either case, you probably have to dump and rebuild your database files for your new configuration.
&lt;/p&gt;
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-901898"&gt;
&lt;p&gt;
--Dave
&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
929149</field>
<field name="parent_node">
929149</field>
</data>
</node>
