hello,
I have a weird error message and I could not understand what's the source of this error and how to fix it.

A simple example :

glfw-ffi.scm :
(c-declare "#include \"GL/glfw.h\"")
(define glfwInit (c-lambda () int "glfwInit"))

compilation :
$ export GAMBC_CC_VERBOSE=yes
$ gsc -ld-options "-L/usr/local/lib -lglfw" glfw-ffi.scm

gcc     -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing  -fwrapv -fomit-frame-pointer -fno-move-loop-invariants -fPIC -fno-common -mieee-fp   -rdynamic -shared  -D___SINGLE_HOST -D___DYNAMIC -I"/usr/local/Gambit-C/include" -o "glfw-ffi.o2"   glfw-ffi.c -L/usr/local/lib -lglfw

$ gsc
Gambit v4.6.7

> (load "glfw-ffi")
Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
Abort(coredump)
$

Anyone see this problem with pthread ?

thanks a lot
cyrille