<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Does elephant-0.5 match the value of *elephant-lib-path*?<BR>
I recently changed it to just use "elephant", since we have made so many releases in the <BR>
last few months and plan to make more soon.<BR>
<BR>
<BR>
(defvar *elephant-lib-path* "/usr/local/share/common-lisp/elephant/")<BR>
<BR>
<BR>
On Mon, 2006-02-13 at 15:54 +0100, Tayssir John Gabbour wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Yes, make created in (the ASDF-accessible) elephant-0.5/:</FONT>
<FONT COLOR="#000000">libsleepycat.dylib</FONT>
<FONT COLOR="#000000">libmemutil.dylib</FONT>
<FONT COLOR="#000000">Previously, libdb.dylib was only in /usr/local/BerkeleyDB.4.3/lib/, but</FONT>
<FONT COLOR="#000000">I just made a soft and a hard link to:</FONT>
<FONT COLOR="#000000">/usr/lib/libdb.dylib</FONT>
<FONT COLOR="#000000">which didn't fix the problem. :(</FONT>
<FONT COLOR="#000000">Tayssir</FONT>
<FONT COLOR="#000000">Robert L. Read wrote:</FONT>
<FONT COLOR="#000000">> This is just a guess:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Did you run "make" and do the following two files exists in this location:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> /usr/local/share/common-lisp/elephant/libsleepycat.so</FONT>
<FONT COLOR="#000000">> /usr/local/share/common-lisp/elephant/libmemutil.so</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> and does</FONT>
<FONT COLOR="#000000">> /usr/lib/libdb.so</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> exists in a standard lib location, such as /usr/lib/libdb.so?</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> On Mon, 2006-02-13 at 12:10 +0100, Tayssir John Gabbour wrote:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">>>Hi all,</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>(I'm using SBCL 0.9.4 on MacOS X)</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>I installed Elephant-0.5.0, BerkeleyDB.4.3, uffi-1.5.7.. and I'm at a</FONT>
<FONT COLOR="#000000">>>loss about how to deal with the following Slime stack trace. (Elephant</FONT>
<FONT COLOR="#000000">>>apparently knows about the "dylib" naming convention and all that...)</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>----</FONT>
<FONT COLOR="#000000">>>Attempt to call an undefined alien function.</FONT>
<FONT COLOR="#000000">>> [Condition of type SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR]</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>Restarts:</FONT>
<FONT COLOR="#000000">>> 0: [ABORT] Abort handling SLIME request.</FONT>
<FONT COLOR="#000000">>> 1: [ABORT] Exit debugger, returning to top level.</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>Backtrace:</FONT>
<FONT COLOR="#000000">>> 0: (SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR)</FONT>
<FONT COLOR="#000000">>> 1: ("foreign function: call_into_lisp")</FONT>
<FONT COLOR="#000000">>> 2: (SLEEPYCAT::%DB-ENV-CREATE 0)</FONT>
<FONT COLOR="#000000">>> 3: (SLEEPYCAT:DB-ENV-CREATE)</FONT>
<FONT COLOR="#000000">>> 4: ((SB-PCL::FAST-METHOD OPEN-CONTROLLER (BDB-STORE-CONTROLLER))</FONT>
<FONT COLOR="#000000">>>(#(NIL 1) . #()) #<unavailable argument> #<BDB-STORE-CONTROLLER</FONT>
<FONT COLOR="#000000">>>{11DAC349}> (:RECOVER NIL :RECOVER-FATAL NIL :THREAD T))</FONT>
<FONT COLOR="#000000">>> 5: (ELEPHANT::GET-CONTROLLER "/Users/main/Desktop/testdb")</FONT>
<FONT COLOR="#000000">>> 6: (OPEN-STORE "/Users/main/Desktop/testdb" :RECOVER NIL</FONT>
<FONT COLOR="#000000">>>:RECOVER-FATAL NIL :THREAD T)</FONT>
<FONT COLOR="#000000">>> 7: (SB-INT:EVAL-IN-LEXENV (OPEN-STORE "/Users/main/Desktop/testdb")</FONT>
<FONT COLOR="#000000">>>#<NULL-LEXENV>)</FONT>
<FONT COLOR="#000000">>>----</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>Thanks for any advice,</FONT>
<FONT COLOR="#000000">>>Tayssir</FONT>
<FONT COLOR="#000000">>>_______________________________________________</FONT>
<FONT COLOR="#000000">>>elephant-devel site list</FONT>
<FONT COLOR="#000000">>><A HREF="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</A> <mailto:<A HREF="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</A>></FONT>
<FONT COLOR="#000000">>><A HREF="http://common-lisp.net/mailman/listinfo/elephant-devel">http://common-lisp.net/mailman/listinfo/elephant-devel</A></FONT>
<FONT COLOR="#000000">>></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>