[elephant-devel] Installing on MacOS X, SBCL

Tayssir John Gabbour tjg-lisp at pentaside.org
Mon Feb 13 14:54:31 UTC 2006


Yes, make created in (the ASDF-accessible) elephant-0.5/:
libsleepycat.dylib
libmemutil.dylib

Previously, libdb.dylib was only in /usr/local/BerkeleyDB.4.3/lib/, but
I just made a soft and a hard link to:
/usr/lib/libdb.dylib

which didn't fix the problem. :(


Tayssir



Robert L. Read wrote:
> This is just a guess:
>
> Did you run "make" and do the following two files exists in this location:
>
> /usr/local/share/common-lisp/elephant/libsleepycat.so
> /usr/local/share/common-lisp/elephant/libmemutil.so
>
> and does
> /usr/lib/libdb.so
>
> exists in a standard lib location, such as /usr/lib/libdb.so?
>
>
> On Mon, 2006-02-13 at 12:10 +0100, Tayssir John Gabbour wrote:
>
>>Hi all,
>>
>>(I'm using SBCL 0.9.4 on MacOS X)
>>
>>I installed Elephant-0.5.0, BerkeleyDB.4.3, uffi-1.5.7.. and I'm at a
>>loss about how to deal with the following Slime stack trace. (Elephant
>>apparently knows about the "dylib" naming convention and all that...)
>>
>>----
>>Attempt to call an undefined alien function.
>>   [Condition of type SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR]
>>
>>Restarts:
>>  0: [ABORT] Abort handling SLIME request.
>>  1: [ABORT] Exit debugger, returning to top level.
>>
>>Backtrace:
>>  0: (SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR)
>>  1: ("foreign function: call_into_lisp")
>>  2: (SLEEPYCAT::%DB-ENV-CREATE 0)
>>  3: (SLEEPYCAT:DB-ENV-CREATE)
>>  4: ((SB-PCL::FAST-METHOD OPEN-CONTROLLER (BDB-STORE-CONTROLLER))
>>(#(NIL 1) . #()) #<unavailable argument> #<BDB-STORE-CONTROLLER
>>{11DAC349}> (:RECOVER NIL :RECOVER-FATAL NIL :THREAD T))
>>  5: (ELEPHANT::GET-CONTROLLER "/Users/main/Desktop/testdb")
>>  6: (OPEN-STORE "/Users/main/Desktop/testdb" :RECOVER NIL
>>:RECOVER-FATAL NIL :THREAD T)
>>  7: (SB-INT:EVAL-IN-LEXENV (OPEN-STORE "/Users/main/Desktop/testdb")
>>#<NULL-LEXENV>)
>>----
>>
>>Thanks for any advice,
>>Tayssir
>>_______________________________________________
>>elephant-devel site list
>>elephant-devel at common-lisp.net <mailto:elephant-devel at common-lisp.net>
>>http://common-lisp.net/mailman/listinfo/elephant-devel
>>




More information about the elephant-devel mailing list