Re: Postgres cannot load plpython

2014-09-26 Thread Ted Unangst
On Tue, Sep 23, 2014 at 22:57, Nick Guenther wrote: > > > On September 23, 2014 8:12:36 PM EDT, Stuart Henderson > wrote: >>On 2014/09/23 17:27, Nick Guenther wrote: >>> LD_PRELOAD, >>/usr/local/share/doc/pkg-readmes/postgresql-plv8-* explains this too. >> >>> But I do not understand why libpthr

Re: Postgres cannot load plpython

2014-09-24 Thread Stuart Henderson
On 2014/09/23 22:57, Nick Guenther wrote: > >libpthread is special > > Sorry for the noise and thank you for taking the time to answer me anyway. I > guess linux is less restrictive about dlopen(), then? It's only needed because we rely on libpthread overriding libc functions, if linux doesn't d

Re: Postgres cannot load plpython

2014-09-23 Thread Nick Guenther
On September 23, 2014 8:12:36 PM EDT, Stuart Henderson wrote: >On 2014/09/23 17:27, Nick Guenther wrote: >> LD_PRELOAD, >/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. > >

Re: Postgres cannot load plpython

2014-09-23 Thread Stuart Henderson
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 libpthr