On Mon, Jul 4, 2016 at 11:00 PM, Tinker <ti...@openmailbox.org> wrote: ... > That thread touched on a secondary question which is if there is any > particular requirement on HOW/WHEN to load libpthread : > > A) Must libpthread be [dynamic object dependency] linked to the executable > file directly, or is it OK that a shared library that the executable has a > [dynamic object dependency] link to, links to libpthread [by the means of a > dynamic object dependency]?
That should have always worked, yes. > B) Can libpthread be loaded at first at dlopen() time in OpenBSD? In -current, and therefore in 6.0 when it is released, yes, libpthread can be loaded for the first time via dlopen(). In 5.9-stable and previous releases, libpthread can only be loaded at executable startup and was marked as "noopen". Philip Guenther