hello,

Here are the ouputs :

>> *********************************************************************************
>> * What OS and version and environment variables are you on? ************************
$ uname -a
FreeBSD darkstar 9.1-STABLE FreeBSD 9.1-STABLE #2: Thu Jan 31 20:41:22 CET 2013     root@darkstar:/usr/obj/usr/src/sys/THINKPKERNEL  amd64
$ export
BLOCKSIZE=K
BROWSER=chromium
CPLUS_INCLUDE_PATH=/usr/include:/usr/local/include
C_INCLUDE_PATH=/usr/include:/usr/local/include:/usr/local/Gambit-C/include
DISPLAY=:0
EDITOR=vim
FTP_PASSIVE_MODE=YES
HOME=/home/cydu
LD_LIBRARY_PATH=.:/usr/lib:/usr/local/lib:/home/cydu/programming/C/SDL2/lib:/usr/local/Gambit-C/lib
LOGNAME=cydu
MAIL=/var/mail/cydu
PAGER=more
PATH=/home/cydu/Local/bin:/home/cydu/Local/factor:/home/cydu/.cabal/bin:/bin:/usr/bin:/usr/games:/usr/local/Gambit-C/bin:/usr/local/bin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig:
PS1='@ '
PWD=/home/cydu/programming/scheme/modules/glfw
SHELL=/usr/local/bin/ksh93
SHLVL=3
TERM=xterm-256color
TERMCAP='xterm-256color|xterm alias 3:Co#256:pa#32767:AB=\E[48;5;%dm:AF=\E[38;5;%dm:@7=\EOF:@8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:am:bs:km:mi:ms:ut:xn:AX:co#80:kn#12:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:ke=\E[?1l\E>:ks=\E[?1h\E=:kB=\E[Z:le=^H:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:kb=\010:'
USER=cydu
WEBSHARPER_HOME=/home/cydu/programming/f#/websharper/dist
WINDOWID=20971533
WINDOWPATH=9
XAUTHORITY=/home/cydu/.Xauthority
XDG_SESSION_COOKIE=4d69d56a761010e5d757eff000009be0-1367217630.45088-1175407238
XTERM_LOCALE=C
XTERM_SHELL=/usr/local/bin/ksh93
XTERM_VERSION='X.Org 7.6.0(290)'

>> *****************************************************************************
>> * What does ldd/lddtree on all involved files say? *********************************
$ ldd glfw-ffi.o1
glfw-ffi.o1:
        libglfw.so => /usr/local/lib/libglfw.so (0x801201000)
        libc.so.7 => /lib/libc.so.7 (0x80081b000)
        libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x80063d000)
        libX11.so.6 => /usr/local/lib/libX11.so.6 (0x801412000)
        libGL.so.1 => /usr/local/lib/libGL.so.1 (0x801647000)
        libm.so.5 => /lib/libm.so.5 (0x801948000)
        libthr.so.3 => /lib/libthr.so.3 (0x801b69000)
        libXext.so.6 => /usr/local/lib/libXext.so.6 (0x801d8c000)
        libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x801e9e000)
        libxcb.so.2 => /usr/local/lib/libxcb.so.2 (0x801fa7000)
        libXau.so.6 => /usr/local/lib/libXau.so.6 (0x8020c2000)
        libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x8021c5000)
        libpthread-stubs.so.0 => /usr/local/lib/libpthread-stubs.so.0 (0x8022ca000)
        librpcsvc.so.5 => /usr/lib/librpcsvc.so.5 (0x8023cb000)
        libnvidia-tls.so.1 => /usr/local/lib/libnvidia-tls.so.1 (0x8025d4000)
        libnvidia-glcore.so.1 => /usr/local/lib/libnvidia-glcore.so.1 (0x8027d5000)

>> *****************************************************************************************************************************
>> * If you enforce loading of the respective dynamic libraries using the OS dynamic library loader's environment variables, what happens? *
$ LD_PRELOAD=/home/cydu/programming/scheme/modules/glfw/glfw-ffi.o1
$ gsc
Gambit v4.6.7

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

>> *************************************************************************************
>> * Paste strace or alike of all the process ************************************************
$ truss -o calls.trace gsc
Gambit v4.6.7

> (load "glfw-ffi")
Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
$ more calls.trace
mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34370985984 (0x800aba000)
issetugid(0x800cbaa60,0x7fffffffefc4,0x40,0x0,0xffff800800cbba9c,0x0) = 0 (0x0)
lstat("/etc",{ mode=drwxr-xr-x ,inode=1154048,size=2560,blksize=16384 }) = 0 (0x0)
lstat("/etc/libmap.conf",{ mode=-rw-r--r-- ,inode=1154380,size=417,blksize=16384 }) = 0 (0x0)
open("/etc/libmap.conf",O_RDONLY,062725040) = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=1154380,size=417,blksize=16384 }) = 0 (0x0)
mmap(0x0,417,PROT_READ,MAP_PRIVATE,3,0x0) = 34371018752 (0x800ac2000)
close(3) = 0 (0x0)
munmap(0x800ac2000,417) = 0 (0x0)
access("./libutil.so.9",0) ERR#2 'No such file or directory'
access("/usr/lib/libutil.so.9",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libutil.so.9",0) ERR#2 'No such file or directory'
access("/home/cydu/programming/C/SDL2/lib/libutil.so.9",0) ERR#2 'No such file or directory'
access("/usr/local/Gambit-C/lib/libutil.so.9",0) ERR#2 'No such file or directory'
open("/var/run/ld-elf.so.hints",O_RDONLY,062732740) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0N\^A\0\0"...,128) = 128 (0x80)
lseek(3,0x80,SEEK_SET) = 128 (0x80)
read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,334) = 334 (0x14e)
close(3) = 0 (0x0)
access("/lib/libutil.so.9",0) = 0 (0x0)
open("/lib/libutil.so.9",O_RDONLY,062732740) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=683039,size=74200,blksize=16384 }) = 0 (0x0)
fstatfs(0x3,0x7fffffffca50,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,3,0x0) = 34371018752 (0x800ac2000)
mmap(0x0,2174976,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34373091328 (0x800cbc000)
mmap(0x800cbc000,65536,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,3,0x0) = 34373091328 (0x800cbc000)
mmap(0x800ecc000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,3,0x10000) = 34375254016 (0x800ecc000)
mmap(0x800ecd000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34375258112 (0x800ecd000)
munmap(0x800ac2000,4096) = 0 (0x0)
close(3) = 0 (0x0)
access("./libm.so.5",0) ERR#2 'No such file or directory'
access("/usr/lib/libm.so.5",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libm.so.5",0) ERR#2 'No such file or directory'
access("/home/cydu/programming/C/SDL2/lib/libm.so.5",0) ERR#2 'No such file or directory'
access("/usr/local/Gambit-C/lib/libm.so.5",0) ERR#2 'No such file or directory'
access("/lib/libm.so.5",0) = 0 (0x0)
open("/lib/libm.so.5",O_RDONLY,062732740) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=683018,size=160576,blksize=16384 }) = 0 (0x0)
fstatfs(0x3,0x7fffffffca50,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,3,0x0) = 34371018752 (0x800ac2000)
mmap(0x0,2232320,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34375266304 (0x800ecf000)
mmap(0x800ecf000,135168,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,3,0x0) = 34375266304 (0x800ecf000)
mmap(0x8010ef000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,3,0x20000) = 34377494528 (0x8010ef000)
munmap(0x800ac2000,4096) = 0 (0x0)
close(3) = 0 (0x0)
access("./libc.so.7",0) ERR#2 'No such file or directory'
access("/usr/lib/libc.so.7",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libc.so.7",0) ERR#2 'No such file or directory'
access("/home/cydu/programming/C/SDL2/lib/libc.so.7",0) ERR#2 'No such file or directory'
access("/usr/local/Gambit-C/lib/libc.so.7",0) ERR#2 'No such file or directory'
access("/lib/libc.so.7",0) = 0 (0x0)
open("/lib/libc.so.7",O_RDONLY,062732740) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=683014,size=1401640,blksize=16384 }) = 0 (0x0)
fstatfs(0x3,0x7fffffffca50,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,3,0x0) = 34371018752 (0x800ac2000)
mmap(0x0,3514368,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34377498624 (0x8010f0000)
mmap(0x8010f0000,1269760,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,3,0x0) = 34377498624 (0x8010f0000)
mmap(0x801425000,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,3,0x135000) = 34380861440 (0x801425000)
mmap(0x801430000,106496,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34380906496 (0x801430000)
munmap(0x800ac2000,4096) = 0 (0x0)
close(3) = 0 (0x0)
mmap(0x0,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34371018752 (0x800ac2000)
munmap(0x800ac4000,28672) = 0 (0x0)
mmap(0x0,299008,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34371026944 (0x800ac4000)
munmap(0x800b08000,20480) = 0 (0x0)
mmap(0x0,102400,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34371305472 (0x800b08000)
sysarch(0x81,0x7fffffffcd10,0x800ac04c8,0x0,0xffffffffff697640,0x8080808080808080) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
readlink("/etc/malloc.conf",0x7fffffffcfe0,1024) ERR#2 'No such file or directory'
issetugid(0x8011fef69,0x7fffffffcfe0,0xffffffffffffffff,0x0,0x2,0x7fffffffef6c) = 0 (0x0)
break(0x1000000) = 0 (0x0)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34381012992 (0x80144a000)
mmap(0x80184a000,3891200,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34385207296 (0x80184a000)
munmap(0x80144a000,3891200) = 0 (0x0)
getrusage(0,{ u=0.000000,s=0.003828,in=0,out=0 }) = 0 (0x0)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGINT,{ 0x535c40 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGTERM,{ 0x535c40 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGWINCH,{ 0x535c40 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGCONT,{ 0x535c40 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGCHLD,{ 0x53e2d0 0x0 ss_t },0x0) = 0 (0x0)
sigaction(SIGPIPE,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
ioctl(0,TIOCGETA,0xffffafa0) = 0 (0x0)
ioctl(1,TIOCGETA,0xffffafa0) = 0 (0x0)
ioctl(2,TIOCGETA,0xffffafa0) = 0 (0x0)
__getcwd("/usr/users/cydu/programming/scheme/modules/glfw",1024) = 0 (0x0)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
mmap(0x0,8388608,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34389098496 (0x801c00000)
munmap(0x802000000,4194304) = 0 (0x0)
getrusage(0,{ u=0.000000,s=0.009857,in=0,out=0 }) = 0 (0x0)
getrusage(0,{ u=0.000000,s=0.010225,in=0,out=0 }) = 0 (0x0)
getrusage(0,{ u=0.000000,s=0.011220,in=0,out=0 }) = 0 (0x0)
getrusage(0,{ u=0.000000,s=0.011642,in=0,out=0 }) = 0 (0x0)
open("/usr/local/Gambit-C/lib/gambcext",O_NONBLOCK,0666) ERR#2 'No such file or directory'
stat("/usr/local/Gambit-C/lib/gambcext.o1",0x7fffffffb040) ERR#2 'No such file or directory'
stat("/usr/local/Gambit-C/lib/gambcext.scm",0x7fffffffb040) ERR#2 'No such file or directory'
stat("/usr/local/Gambit-C/lib/gambcext.six",0x7fffffffb040) ERR#2 'No such file or directory'
open("/usr/users/cydu/programming/scheme/modules/glfw/.gambcini",O_NONBLOCK,0666) ERR#2 'No such file or directory'
stat("/usr/users/cydu/programming/scheme/modules/glfw/.gambcini.o1",0x7fffffffb040) ERR#2 'No such file or directory'
stat("/usr/users/cydu/programming/scheme/modules/glfw/.gambcini.scm",0x7fffffffb040) ERR#2 'No such file or directory'
stat("/usr/users/cydu/programming/scheme/modules/glfw/.gambcini.six",0x7fffffffb040) ERR#2 'No such file or directory'
open("/home/cydu/.gambcini",O_NONBLOCK,0666) = 3 (0x3)
ioctl(3,TIOCGETA,0xffffaf60) ERR#25 'Inappropriate ioctl for device'
fstat(3,{ mode=-rw-r--r-- ,inode=3344513,size=670,blksize=16384 }) = 0 (0x0)
fcntl(3,F_GETFL,) = 4 (0x4)
fcntl(3,F_SETFL,O_NONBLOCK) = 0 (0x0)
read(3,"(let [(bootstrap-path "~/program"...,1024) = 670 (0x29e)
read(3,0x801ccc6d0,1024) = 0 (0x0)
close(3) = 0 (0x0)
open("/dev/tty",O_RDWR|O_NONBLOCK,00) = 3 (0x3)
ioctl(3,TIOCGETA,0x1a1f244) = 0 (0x0)
fcntl(3,F_GETFL,) = 6 (0x6)
ioctl(3,TIOCSETA,0xffffadc0) = 0 (0x0)
fcntl(3,F_SETFL,O_NONBLOCK|0x2) = 0 (0x0)
ioctl(3,TIOCGWINSZ,0xffffae20) = 0 (0x0)
write(3,"\^[[1m\^[[46m",9) = 9 (0x9)
write(3,"G",1) = 1 (0x1)
write(3,"a",1) = 1 (0x1)
write(3,"m",1) = 1 (0x1)
write(3,"b",1) = 1 (0x1)
write(3,"i",1) = 1 (0x1)
write(3,"t",1) = 1 (0x1)
write(3," ",1) = 1 (0x1)
write(3,"v",1) = 1 (0x1)
write(3,"4",1) = 1 (0x1)
write(3,".",1) = 1 (0x1)
write(3,"6",1) = 1 (0x1)
write(3,".",1) = 1 (0x1)
write(3,"7",1) = 1 (0x1)
write(3,"\^[[m",3) = 3 (0x3)
write(3,"\n",1) = 1 (0x1)
write(3,"\n",1) = 1 (0x1)
write(3,">",1) = 1 (0x1)
write(3," ",1) = 1 (0x1)
open("/home/cydu/.gambc_history",O_NONBLOCK,0666) = 4 (0x4)
................................
close(4) = 0 (0x0)
mmap(0x0,8388608,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34418458624 (0x803800000)
SIGNAL 26 (SIGVTALRM)
sigreturn(0x7fffffffab00,0x10006,0xeb7420,0x2,0x0,0x0) = 111 (0x6f)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34426847232 (0x804000000)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34431041536 (0x804400000)
munmap(0x803800000,8388608) = 0 (0x0)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"(",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"\^[[1m(",5) = 5 (0x5)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"l",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"l",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"o",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"o",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"a",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"a",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"d",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"d",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3," ",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3," ",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,""",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,""",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"g",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"g",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"l",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"l",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"f",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"f",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"w",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"w",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"-",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"-",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"f",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"f",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"f",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"f",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"i",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,"i",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,""",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,""",1) = 1 (0x1)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},0x0) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,")",128) = 1 (0x1)
read(3,0x801a1eb1c,128) ERR#35 'Resource temporarily unavailable'
write(3,")\^[[17D",6) = 6 (0x6)
setitimer(1,{0.000000, 0.000000 },0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ SIG_IGN 0x0 ss_t },0x0) = 0 (0x0)
select(4,{3},{},{},{0.499997 }) = 1 (0x1)
setitimer(1,{0.010000, 0.010000 },0x0) = 0 (0x0)
getitimer(1,0x0) = 0 (0x0)
sigaction(SIGVTALRM,{ 0x532f20 0x0 ss_t },0x0) = 0 (0x0)
read(3,"\r",128) = 1 (0x1)
write(3,"\^[[17C\^[[m\n",9) = 9 (0x9)
open("/usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi",O_NONBLOCK,0666) ERR#2 'No such file or directory'
stat("/usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi.o1",{ mode=-rwxr-xr-x ,inode=4971518,size=7737,blksize=16384 }) = 0 (0x0)
stat("/usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi.o2",0x7fffffffb040) ERR#2 'No such file or directory'
stat("/usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi.scm",{ mode=-rw-r--r-- ,inode=4971515,size=84,blksize=16384 }) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
open("/usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi.o1",O_RDONLY,074) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=4971518,size=7737,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac60,0x3c,0x0,0xfffffffffc4d29c0,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,2101248,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34381012992 (0x80144a000)
mmap(0x80144a000,4096,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34381012992 (0x80144a000)
mmap(0x80164a000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x0) = 34383110144 (0x80164a000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libglfw.so",0) ERR#2 'No such file or directory'
access("/usr/lib/libglfw.so",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libglfw.so",0) = 0 (0x0)
open("/usr/local/lib/libglfw.so",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=1649433,size=85054,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,2166784,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34418458624 (0x803800000)
mmap(0x803800000,65536,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34418458624 (0x803800000)
mmap(0x803a10000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x10000) = 34420621312 (0x803a10000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libXrandr.so.2",0) ERR#2 'No such file or directory'
access("/usr/lib/libXrandr.so.2",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libXrandr.so.2",0) = 0 (0x0)
open("/usr/local/lib/libXrandr.so.2",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1652432,size=39845,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1081344,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34371411968 (0x800b22000)
mmap(0x800b22000,28672,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34371411968 (0x800b22000)
mmap(0x800c29000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x7000) = 34372489216 (0x800c29000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libX11.so.6",0) ERR#2 'No such file or directory'
access("/usr/lib/libX11.so.6",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libX11.so.6",0) = 0 (0x0)
open("/usr/local/lib/libX11.so.6",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1655224,size=1405888,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,2314240,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34420625408 (0x803a11000)
mmap(0x803a11000,1175552,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34420625408 (0x803a11000)
mmap(0x803c30000,90112,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x11f000) = 34422849536 (0x803c30000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libGL.so.1",0) ERR#2 'No such file or directory'
access("/usr/lib/libGL.so.1",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libGL.so.1",0) = 0 (0x0)
open("/usr/local/lib/libGL.so.1",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=2191969,size=1048624,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,3149824,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34422939648 (0x803c46000)
mmap(0x803c46000,794624,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34422939648 (0x803c46000)
mmap(0x803f08000,253952,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|0x40000,4,0xc2000) = 34425831424 (0x803f08000)
mmap(0x803f46000,4096,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34426085376 (0x803f46000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libthr.so.3",0) ERR#2 'No such file or directory'
access("/usr/lib/libthr.so.3",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libthr.so.3",0) ERR#2 'No such file or directory'
access("/home/cydu/programming/C/SDL2/lib/libthr.so.3",0) ERR#2 'No such file or directory'
access("/usr/local/Gambit-C/lib/libthr.so.3",0) ERR#2 'No such file or directory'
access("/lib/libthr.so.3",0) = 0 (0x0)
open("/lib/libthr.so.3",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=683051,size=104288,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,2240512,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34435235840 (0x804800000)
mmap(0x804800000,98304,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34435235840 (0x804800000)
mmap(0x804a17000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x17000) = 34437427200 (0x804a17000)
mmap(0x804a19000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34437435392 (0x804a19000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libXext.so.6",0) ERR#2 'No such file or directory'
access("/usr/lib/libXext.so.6",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libXext.so.6",0) = 0 (0x0)
open("/usr/local/lib/libXext.so.6",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1649759,size=88632,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1122304,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34383114240 (0x80164b000)
mmap(0x80164b000,65536,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34383114240 (0x80164b000)
mmap(0x80175a000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0xf000) = 34384224256 (0x80175a000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libXrender.so.1",0) ERR#2 'No such file or directory'
access("/usr/lib/libXrender.so.1",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libXrender.so.1",0) = 0 (0x0)
open("/usr/local/lib/libXrender.so.1",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1651274,size=45355,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1085440,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34437476352 (0x804a23000)
mmap(0x804a23000,36864,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34437476352 (0x804a23000)
mmap(0x804b2b000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x8000) = 34438557696 (0x804b2b000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libxcb.so.2",0) ERR#2 'No such file or directory'
access("/usr/lib/libxcb.so.2",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libxcb.so.2",0) = 0 (0x0)
open("/usr/local/lib/libxcb.so.2",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1649617,size=151640,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1159168,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34438561792 (0x804b2c000)
mmap(0x804b2c000,98304,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34438561792 (0x804b2c000)
mmap(0x804c43000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x17000) = 34439704576 (0x804c43000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libXau.so.6",0) ERR#2 'No such file or directory'
access("/usr/lib/libXau.so.6",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libXau.so.6",0) = 0 (0x0)
open("/usr/local/lib/libXau.so.6",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1653626,size=15315,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1060864,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34439720960 (0x804c47000)
mmap(0x804c47000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34439720960 (0x804c47000)
mmap(0x804d49000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x2000) = 34440777728 (0x804d49000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libXdmcp.so.6",0) ERR#2 'No such file or directory'
access("/usr/lib/libXdmcp.so.6",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libXdmcp.so.6",0) = 0 (0x0)
open("/usr/local/lib/libXdmcp.so.6",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1653865,size=25336,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1069056,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34440781824 (0x804d4a000)
mmap(0x804d4a000,16384,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34440781824 (0x804d4a000)
mmap(0x804e4e000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x4000) = 34441846784 (0x804e4e000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libpthread-stubs.so.0",0) ERR#2 'No such file or directory'
access("/usr/lib/libpthread-stubs.so.0",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libpthread-stubs.so.0",0) = 0 (0x0)
open("/usr/local/lib/libpthread-stubs.so.0",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-rwxr-xr-x ,inode=1649117,size=6202,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,1052672,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34441850880 (0x804e4f000)
mmap(0x804e4f000,4096,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34441850880 (0x804e4f000)
mmap(0x804f4f000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x0) = 34442899456 (0x804f4f000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./librpcsvc.so.5",0) ERR#2 'No such file or directory'
access("/usr/lib/librpcsvc.so.5",0) = 0 (0x0)
open("/usr/lib/librpcsvc.so.5",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=2261799,size=39744,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,2134016,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34442903552 (0x804f50000)
mmap(0x804f50000,36864,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34442903552 (0x804f50000)
mmap(0x805158000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x8000) = 34445033472 (0x805158000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libnvidia-tls.so.1",0) ERR#2 'No such file or directory'
access("/usr/lib/libnvidia-tls.so.1",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libnvidia-tls.so.1",0) = 0 (0x0)
open("/usr/local/lib/libnvidia-tls.so.1",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=1649040,size=4824,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,2101248,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34445037568 (0x805159000)
mmap(0x805159000,4096,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34445037568 (0x805159000)
mmap(0x805359000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x0) = 34447134720 (0x805359000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
access("./libnvidia-glcore.so.1",0) ERR#2 'No such file or directory'
access("/usr/lib/libnvidia-glcore.so.1",0) ERR#2 'No such file or directory'
access("/usr/local/lib/libnvidia-glcore.so.1",0) = 0 (0x0)
open("/usr/local/lib/libnvidia-glcore.so.1",O_RDONLY,062732740) = 4 (0x4)
fstat(4,{ mode=-r--r--r-- ,inode=1649979,size=35140072,blksize=16384 }) = 0 (0x0)
fstatfs(0x4,0x7fffffffac30,0x800cbb5e0,0x8,0x101010101010101,0x8080808080808080) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|0x40000,4,0x0) = 34371407872 (0x800b21000)
mmap(0x0,37343232,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34447138816 (0x80535a000)
mmap(0x80535a000,27357184,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|0x40000,4,0x0) = 34447138816 (0x80535a000)
mmap(0x806f71000,7782400,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|0x40000,4,0x1a17000) = 34476593152 (0x806f71000)
mmap(0x8076dd000,106496,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34484375552 (0x8076dd000)
munmap(0x800b21000,4096) = 0 (0x0)
close(4) = 0 (0x0)
munmap(0x800b1f000,8192) = 0 (0x0)
mmap(0x0,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34372493312 (0x800c2a000)
__sysctl(0x7fffffffaee0,0x2,0x7fffffffaed8,0x7fffffffaed0,0x0,0x0) = 0 (0x0)
getrlimit(RLIMIT_STACK,{ cur=536870912,max=536870912 }) = 0 (0x0)
mprotect(0x7fffdffff000,536870912,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
getpid() = 2598 (0xa26)
__sysctl(0x7fffffffae50,0x2,0x804a22c00,0x7fffffffae58,0x0,0x0) = 0 (0x0)
__sysctl(0x7fffffffad80,0x2,0x7fffffffadb0,0x7fffffffae18,0x804814690,0xd) = 0 (0x0)
__sysctl(0x7fffffffadb0,0x3,0x804a21ae8,0x7fffffffae58,0x0,0x0) = 0 (0x0)
thr_self(0x8044d6400,0x1,0x0,0x0,0x40,0x1) = 0 (0x0)
mmap(0x7fffffbfe000,4096,PROT_NONE,MAP_ANON,-1,0x0) = 140737484152832 (0x7fffffbfe000)
rtprio_thread(0x0,0x1882f,0x7fffffffae20,0x1000,0xffffffff,0x0) = 0 (0x0)
sysarch(0x81,0x7fffffffae40,0x804a216c0,0x804a219e0,0xffffffff,0x0) = 0 (0x0)
sigaction(32,{ 0x80480dd10 SA_SIGINFO ss_t },0x0) = 0 (0x0)
sigprocmask(SIG_UNBLOCK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
write(2,"Unable to find pthread_mutexattr"...,72) = 72 (0x48)
sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
getpid() = 2598 (0xa26)
kill(2598,SIGABRT) = 0 (0x0)
SIGNAL 6 (SIGABRT)
process exit, rval = 0

>> ****************************************************************************************
>> * Paste output of gdb introspection on core file *********************************************
$ gdb /usr/local/Gambit-C/bin/gsc gsc.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `gsc'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi.o1...(no debugging symbols found)...done.
Loaded symbols for /usr/users/cydu/programming/scheme/modules/glfw/glfw-ffi.o1
Reading symbols from /usr/local/lib/libglfw.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libglfw.so
Reading symbols from /usr/local/lib/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libGL.so.1
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /usr/local/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /usr/local/lib/libnvidia-tls.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libnvidia-tls.so.1
Reading symbols from /usr/local/lib/libnvidia-glcore.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libnvidia-glcore.so.1
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000008011f809c in kill () from /lib/libc.so.7
[New Thread 8044d6400 (LWP 100098/gsc)]
(gdb) backtrace
#0  0x00000008011f809c in kill () from /lib/libc.so.7
[New Thread 8044d6400 (LWP 100098/gsc)]
(gdb) backtrace
#0  0x00000008011f809c in kill () from /lib/libc.so.7
#1  0x00000008011f6ccb in abort () from /lib/libc.so.7
#2  0x0000000803cea317 in glXCreateNewContext () from /usr/local/lib/libGL.so.1
#3  0x0000000803ccbc47 in glXCreateNewContext () from /usr/local/lib/libGL.so.1
#4  0x0000000800aa8ca1 in dlinfo () from /libexec/ld-elf.so.1
#5  0x0000000800aa95f2 in dlclose () from /libexec/ld-elf.so.1
#6  0x0000000800aa9fd7 in dlclose () from /libexec/ld-elf.so.1
#7  0x0000000000534735 in ___dynamic_load ()
#8  0x0000000000528c88 in ___os_load_object_file ()
#9  0x0000000000553040 in ___H__20___kernel ()
#10 0x0000000000527929 in ___call ()
#11 0x000000000052891b in ___setup ()
#12 0x000000000053eecd in ___main ()
#13 0x0000000000532bde in ___main_char ()
#14 0x0000000000525eb5 in main ()
(gdb)


On Sun, Apr 28, 2013 at 9:52 PM, Mikael <mikael.rcv@gmail.com> wrote:
That's funny, C library dependency loading generally works on (load).

Paste more info - 

 * What OS and version and environment variables are you on?

 * What does ldd/lddtree on all involved files say?

 * If you enforce loading of the respective dynamic libraries using the OS dynamic library loader's environment variables, what happens?

   E.g. bash$ LD_PRELOAD=yourlibs gsc

 * Paste strace or alike of all the process

 * Paste output of gdb introspection on core file



2013/4/28 Cyrille Duret <cduret@gmail.com>
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

_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list