Link with -lpthread on OpenBSD

Bug #1232196 reported by Adam Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CFFI
New
Undecided
Unassigned

Bug Description

Installation of [GSLL][1] on OpenBSD5.3 fails with the error:

* (ql:quickload "gsll")
sbcl:/usr/local/lib/libffi.so.6.1: undefined symbol 'pthread_mutex_unlock'
sbcl:/usr/local/lib/libffi.so.6.1: undefined symbol 'pthread_mutex_lock'
sbcl:/usr/local/lib/libffi.so.6.1: undefined symbol 'pthread_mutex_init'

I suspect this might be because libffi needs to be linked with -lpthread on OpenBSD.

A seperate issue - OpenBSD names libffi:

/usr/local/lib/libffi.so.0.0

[1]: http://common-lisp.net/project/gsll/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.