Yes. Python is built against this library by default. The alternative
provided by the port is the GNU pth userland library but from what I can
tell looking at python's configuration scripts you don't get HAVE_PTHREAD_H
in that case.
On Oct 22, 2013 11:17 AM, "Martin Zibricky" <notifications@github.com>
wrote:

> In bootloader/wscript:
>
> >
> >          libs = ['dl', 'z', 'm']  # 'z' - zlib, 'm' - math,
> > +        if sys.platform.startswith('freebsd'):
> > +            libs = ['z', 'm']  # freebsd doesn't need libdl
> > +            # check if python has threads: libthr needs
> > +            # to be loaded in the main process
> > +            if sysconfig.get_config_vars('HAVE_PTHREAD_H').pop():
> > +                libs.append('thr')
>
> Is libthr the recommended threading library that should be used on freebsd?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyinstaller/pyinstaller/pull/88/files#r7118941>
> .
>