[elephant-devel] Installing on MacOS X, SBCL

Robert L. Read read at robertlread.net
Mon Feb 13 15:04:26 UTC 2006


Does elephant-0.5 match the value of *elephant-lib-path*?
I recently changed it to just use "elephant", since we have made so many
releases in the 
last few months and plan to make more soon.


(defvar *elephant-lib-path* "/usr/local/share/common-lisp/elephant/")


On Mon, 2006-02-13 at 15:54 +0100, Tayssir John Gabbour wrote:

> 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
> >>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20060213/3553e351/attachment.html>


More information about the elephant-devel mailing list