On 2014/09/23 17:27, Nick Guenther wrote: > http://comments.gmane.org/gmane.os.openbsd.misc/214048 explains that I can > force libpthread to load with LD_PRELOAD, and indeed this fixes it!
/usr/local/share/doc/pkg-readmes/postgresql-plv8-* explains this too. > But I do not understand why libpthread.so refuses to load if the system > knows it needs it. libpython2.7.so isn't preloaded like libkrb5.so and > friends, and that seems to load fine except for its broken dependency. libpthread is special, it overrides some weak functions in libc so must be loaded with the main program, by the time dlopen() is called it's too late.
