At Mon, 3 Jan 2011 09:05:15 -0500, Philippe Meunier wrote: > >> Just to make things more annoying, libcairo needs libpthread: > >> [...] > >> so I also had to change the define-runtime-lib macro from > >> collects/racket/draw/private/libs.rkt so that the unix case of the > >> macro accepts multiple libraries. I'm not sure that's the best way to > >> go about adding libpthread though, and I'm definitely not sure that my > >> simple change to collects/racket/draw/unsafe/cairo.rkt to add > >> libpthread works on other platforms... > > > >Won't "libpthread" get loaded auomatically when "libcairo" is loaded? > > Apparently not: > > $ ldd /usr/local/lib/libcairo.so.11.0 | grep pthread > 0318a000 2318e000 rlib 0 11 0 > /usr/X11R6/lib/libpthread-stubs.so.1.0 > $ > > So it looks like it has to be done explicitely.
That doesn't make any sense to me, but maybe it doesn't matter. If you configure with `--enable-pthreads', does it fix the problem? If so, we can make `--enable-pthreads' the default for OpenBSD. _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev