[elephant-devel] Re: Trouble loading libdb-4.5.so (SBCL, FreeBSD @ amd64)

Linus Nordberg linus at nordberg.se
Fri May 16 23:19:54 UTC 2008


Linus Nordberg <linus at nordberg.se> wrote
Fri, 16 May 2008 15:01:54 +0200:

| | Elephant is borked in SBCL 1.0.16 (due to its heavy UFFI magic lifting),
| | and it hasn't been fixed in the SBCL development repository yet, either.
| 
| Thanks.  1.0.10 shows the same behaviour while 1.0.6 seem to do better
| wrt to SBCL and FFI:
| 
| Loading /usr/local/lib/db45/libdb-4.5.so
| 
| debugger invoked on a SIMPLE-ERROR:
|   Error opening shared object "/usr/local/lib/db45/libdb-4.5.so":
|   /lib/libpthread.so.2: Undefined symbol "__usleep".
| 
| This seem more related to libdb and threading.

Sorry for keeping on following up on my own postings, but threaded
SBCL-1.0.16, elephant-0.9.0 with bdb, uffi-1.6.0 play together in a jail
on FreeBSD-6.2 @ amd64.  At least the BDB tests doesn't complain.

I had to rebuild db45 without the `--enable-pthread_api' configure
option to get rid of the "undefined symbol __usleep" thing while loading
libdb-4.5.so.  Will that break other things wrt Elephant use of BDB?

-- 
Linus




More information about the elephant-devel mailing list