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

Ian Eslick eslick at media.mit.edu
Thu Nov 19 21:37:44 UTC 2009


Seb,

The reason I asked for the my-config.sexp is that the my-config you  
forwarded some time ago below will fail in the way you are talking  
about (undefined symbols as well as unrecognized arguments) because  
this file is telling it to use BDB 4.5 headers to talk to 4.7  
libraries.  BDB changes the constant mapping with every .X increment  
requiring some manual work and a condition to test for which version  
of the constants to use.

Ian

On Nov 10, 2009, at 10:35 AM, Sebastian Tennant wrote:

> my-config.sexp now reads:
>
> ((:compiler . :gcc)
>  (:berkeley-db-version . "4.5")
>  (:berkeley-db-include-dir . "/opt/local/include/db47/")
>  (:berkeley-db-lib-dir . "/opt/local/lib/db47/")
>  (:berkeley-db-lib . "/opt/local/lib/db47/libdb-4.7.dylib")
>  (:berkeley-db-deadlock . "/opt/local/bin/db47_deadlock")
>  (:berkeley-db-cachesize . 20971520)
>  (:berkeley-db-max-locks . 2000)
>  (:berkeley-db-max-objects . 2000)
>  (:berkeley-db-map-degree2 . t)
>  (:berkeley-db-mvcc . nil)
>  (:clsql-lib-paths . nil)
>  (:prebuilt-libraries . nil))





More information about the elephant-devel mailing list