moseley has asked for the wisdom of the Perl Monks concerning the following question:
On Solaris w/ Perl 5.00503 I have a Berkeley DB database. The "values" in the database are structures saved with Storable::nfreeze.
I need to move that to Linux running 5.8.0 and a newer version of Berkeley DB.
I moved the file and then run:
But when I try to thaw the data I'm still getting:$ db_dump foo.old | db4.0_load foo.new
I was able to move another Berkeley DB table without problems (that table's values were plain text).Byte order is not compatible at ../../lib/Storable.pm (autosplit into +../../lib/auto/Storable/thaw.al) line 358.
I suppose I can figure out another way to move the data, but I'm also wondering what I'm doing wrong. Well, for one thing I was not able to easily find the Changelog for Storable to see if there was something broken with nfreeze. And my googling for that error message just turned up suggestions to use nfreeze or nstore (but I'm already using nfreeze).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Storable: Byte order is not compatible
by athomason (Curate) on Oct 02, 2003 at 02:29 UTC | |
by moseley (Acolyte) on Oct 02, 2003 at 04:37 UTC | |
Re: Storable: Byte order is not compatible
by Aristotle (Chancellor) on Oct 02, 2003 at 07:19 UTC | |
by macnod (Initiate) on Feb 14, 2012 at 22:41 UTC | |
by Aristotle (Chancellor) on Apr 26, 2012 at 14:02 UTC | |
by Anonymous Monk on Jun 19, 2012 at 21:58 UTC | |
by Anonymous Monk on Mar 21, 2015 at 19:33 UTC | |
by Anonymous Monk on Jun 19, 2012 at 22:38 UTC | |
Re: Storable: Byte order is not compatible
by PodMaster (Abbot) on Oct 02, 2003 at 02:28 UTC |
Back to
Seekers of Perl Wisdom