From: Greg T. <gd...@ir...> - 2013-03-16 17:44:51
|
Fredrik Pettai <pe...@no...> writes: > On Mar 16, 2013, at 18:18 , Greg Troxel <gd...@ir...> wrote: >> I have never seen a "libdl" on *BSD. There is libtool's variant, which >> was already visible to the build (same as in the 0.12.2 package); > > There is a solution for that in NetBSD/pkgsrc (see "./mk/dlopen.buildlink3.mk Thanks. That didn't work (with the 0.13.0 release), because I think it's incorrectly hard-coded to look in libdl. Luckily Martin fixed it in git, but that's not in a release yet. > The other problem we have then compiling on NetBSD is that OpenSC > wouldn't compile without threads. > (I didn't manage to find a good solution for that, at least…) Are threads a new requirement in 0.13 vs 0.12? (For others: NetBSD doens't allow dlopening threaded libraries into non-threaded programs. So things that are in pam modules have to be non-threaded. This restriction may be eased; it's hard to avoid the restriction and not make all programs pay the mutex/etc. costs of being threaded.) |