On OpenBSD (4.8), the libSDL is not linked with pthread. SBCL : Loading stage
(require 'lispbuilder-sdl) failed :
undefined symbol pthread_create ....
So, i loaded pthread first in sbcl in a cffi way (beginner way, sorry) :
(defpackage :cffi-user
(:use :common-lisp :cffi))
(in-package :cffi-user)
(define-foreign-library libpthread
(:unix "libpthread.so.12.1") (t (:default "libpthread")))
(use-foreign-library libpthread)
(require 'lispbuilder-sdl) compile right without errors.
Maybe a little patch within the lispbuilder-sdl/cffi/library.lisp file, will
correct the problem ?
Original issue reported on code.google.com by
[email protected]on 7 Jan 2011 at 6:50