[elephant-devel] "file is not of required architecture"

Sebastian Tennant sebyte at smolny.plus.com
Fri Nov 13 09:23:29 UTC 2009


Quoth Sebastian Tennant <sebyte at smolny.plus.com>:
> Now let's see if I can get elephant's bdb store working on my Mac.

Well, I'm a lot closer, but still not quite there yet.

I compiled a 64-bit BerkeleyDB but now I get a 'Berkeley DB error #22: Invalid
argument' error message when I try to (open-store ...):

 bash-3.2$ cat elephant_fail.txt | grep -v '^\;\|^$'
 Attempting to load libmemutil.dylib...
 Loaded /Users/admin/cl/clbuild/source/elephant/src/memutil/libmemutil.dylib
 /Users/admin/cl/clbuild/source/elephant/src/db-bdb/libberkeley-db.c: In function ‘lisp_compare2’:
 /Users/admin/cl/clbuild/source/elephant/src/db-bdb/libberkeley-db.c:1061: warning: unused variable ‘i’
 /Users/admin/cl/clbuild/source/elephant/src/db-bdb/libberkeley-db.c: In function ‘lisp_compare_key2’:
 /Users/admin/cl/clbuild/source/elephant/src/db-bdb/libberkeley-db.c:1155: warning: unused variable ‘i’
 Loading /usr/local/BerkeleyDB.4.7/lib/libdb-4.7.dylib
 Attempting to load libberkeley-db.dylib...
 Loaded /Users/admin/cl/clbuild/source/elephant/src/db-bdb/libberkeley-db.dylib
 STYLE-WARNING: Implicitly creating new generic function START-DEADLOCK-DETECTOR.
 STYLE-WARNING: Implicitly creating new generic function STOP-DEADLOCK-DETECTOR.
 STYLE-WARNING: Implicitly creating new generic function CHECKPOINT.
 STYLE-WARNING: Implicitly creating new generic function BUILD-BTREE-INDEX.
 STYLE-WARNING: Implicitly creating new generic function POPULATE.

 Berkeley DB error #22: Invalid argument
    [Condition of type BDB-DB-ERROR]

Any help/tips/pointers very much appreciated.

Regards,

Seb
-- 
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap





More information about the elephant-devel mailing list