What are the results of the following shell commands?
> file /usr/local/lib/db45/libdb-4.5.so
> ldd /usr/local/lib/db45/libdb-4.5.so
> file `which sbcl`
> ldd `which sbcl`
I wonder whether this in an SBCL issue, or a more general linker
On Fri, 26 Oct 2007, Boris Smilga wrote:
> Sorry to tell you, I have got the following effect in SBCL
> running on FreeBSD/x86 (6.2-STABLE). Trying to load the
> BerkeleyDB dynamic library libdb-4.5.so (and libdb-4.6.so)
> results in a crash and fallback to LDB (in newer versions, at
> least since 1.0.9; in 1.0.3 the same input caused SBCL to freeze
> until SIGKILL). This is only the case when SBCL has been built
> with thread support (thus, (MEMBER :SB-THREAD *FEATURES*) ), and
> the effect does not reproduce on either Linux/x86 (2.6.22) or
> Darwin/ppc (8.10.0). At this moment I have no access to other
> platforms; under FreeBSD/x86, I could reproduce it on two
> distinct installations. Also, earlier versions of libdb load quite
> Follows a session transcript.
> Thank you in advance for your attention,
> -- B.Sm.
> 23:51:12 bsm@...:~ $ sbcl
> This is SBCL 1.0.10, an implementation of ANSI Common Lisp.
> * (load-shared-object "/usr/local/lib/db45/libdb-4.5.so")
> fatal error encountered in SBCL pid 49432(tid 134648064):
> GC invariant lost, file "gencgc.c", line 827