Re: prosody with mysql clarification

2016-02-19 Thread Giovanni Bechis
On 02/18/16 20:39, Henrik Friedrichsen wrote: > Stephen has just pointed out that prosodyctl also requires the > workaround (obviously). > > Should we include this? > I think this should go in, ok giovanni@ Cheers Giovanni > Index: Makefile >

Re: prosody with mysql clarification

2016-02-18 Thread Henrik Friedrichsen
Stephen has just pointed out that prosodyctl also requires the workaround (obviously). Should we include this? Index: Makefile === RCS file: /cvs/ports/net/prosody/Makefile,v retrieving revision 1.40 diff -u -p -r1.40 Makefile ---

Re: prosody with mysql clarification

2016-02-16 Thread Henrik Friedrichsen
Finally got to test this. Works fine. Thanks, OK!

Re: prosody with mysql clarification

2016-02-16 Thread Giovanni Bechis
On 02/16/16 13:48, Stuart Henderson wrote: > On 2016/02/16 13:35, Henrik Friedrichsen wrote: >> I see. What do you suggest should be done about the luadbi-mysql port? >> Surely I can ship prosody with libpthread being preloaded, but that >> feels pretty hacky and dirty. >> >> Shouldn't other

Re: prosody with mysql clarification

2016-02-16 Thread Henrik Friedrichsen
I won't be able to test this until tonight, but if you can confirm that this works I say OK.

Re: prosody with mysql clarification

2016-02-16 Thread Stuart Henderson
On 2016/02/16 13:35, Henrik Friedrichsen wrote: > I see. What do you suggest should be done about the luadbi-mysql port? > Surely I can ship prosody with libpthread being preloaded, but that > feels pretty hacky and dirty. > > Shouldn't other software using the MySQL driver be affected by this as

Re: prosody with mysql clarification

2016-02-16 Thread Henrik Friedrichsen
I see. What do you suggest should be done about the luadbi-mysql port? Surely I can ship prosody with libpthread being preloaded, but that feels pretty hacky and dirty. Shouldn't other software using the MySQL driver be affected by this as well? On Tue, Feb 16, 2016 at 11:45:13AM +, Stuart

Re: prosody with mysql clarification

2016-02-16 Thread Stuart Henderson
On 2016/02/16 12:20, Henrik Friedrichsen wrote: > Hey, > > On Tue, Feb 16, 2016 at 11:08:58AM +, Stuart Henderson wrote: > > Good point. Try adding > > "prosody:setenv=LD_PRELOAD=/usr/lib/libpthread.so:tc=daemon:" to > > /etc/login.conf and start it via the rc script. > > This works. Seems

Re: prosody with mysql clarification

2016-02-16 Thread Henrik Friedrichsen
Hey, On Tue, Feb 16, 2016 at 11:08:58AM +, Stuart Henderson wrote: > Good point. Try adding > "prosody:setenv=LD_PRELOAD=/usr/lib/libpthread.so:tc=daemon:" to > /etc/login.conf and start it via the rc script. This works. Seems that libpthread is not loaded by the linker automatically. Not

Re: prosody with mysql clarification

2016-02-16 Thread Stuart Henderson
Good point. Try adding "prosody:setenv=LD_PRELOAD=/usr/lib/libpthread.so:tc=daemon:" to /etc/login.conf and start it via the rc script. On 16 February 2016 08:32:19 GMT+00:00, Giovanni Bechis wrote: >On 02/16/16 01:04, Henrik Friedrichsen wrote: >> There is definitely a

Re: prosody with mysql clarification

2016-02-16 Thread Giovanni Bechis
On 02/16/16 01:04, Henrik Friedrichsen wrote: > There is definitely a bug here, but I don't think it is a prosody > problem. > > I did some digging: > > lua51 -e 'for _,v in ipairs(require"DBI".Drivers()) do print(v) end' > > Should list the MySQL driver when installed, but only lists SQLite3

Re: prosody with mysql clarification

2016-02-15 Thread Henrik Friedrichsen
There is definitely a bug here, but I don't think it is a prosody problem. I did some digging: lua51 -e 'for _,v in ipairs(require"DBI".Drivers()) do print(v) end' Should list the MySQL driver when installed, but only lists SQLite3 on my CURRENT machine. As you can see below loading the

Re: prosody with mysql clarification

2016-02-13 Thread Stuart Henderson
bsd.org] On Behalf Of > Stephen Graf > Sent: Friday, February 12, 2016 2:07 PM > To: ports@openbsd.org > Subject: FW: prosody with mysql clarification > > Additional information: > > The system is running openBSD 5.8 from the release. It is a test system. > It did have

Re: prosody with mysql clarification

2016-02-12 Thread Henrik Friedrichsen
Hey, On Thu, Feb 11, 2016 at 10:18:08PM -0800, Stephen Graf wrote: > When I tried to set up prosody with sql storage using mysql I followed the > instructions in the package and added luadbi-mysql. However prosody did not > seem to pick up on it even though the prosody documentation says that >

Re: prosody with mysql clarification

2016-02-12 Thread Adam Wolk
On Thu, 11 Feb 2016 22:18:08 -0800 "Stephen Graf" wrote: > When I tried to set up prosody with sql storage using mysql I > followed the instructions in the package and added luadbi-mysql. > However prosody did not seem to pick up on it even though the prosody > documentation

Re: prosody with mysql clarification

2016-02-12 Thread Stephen Graf
: prosody with mysql clarification Additional information: The system is running openBSD 5.8 from the release. It is a test system. It did have wireshark and redis installed which brought in lua ver 5.2. I took all the lua packages pertaining to lua out and resinstalled just prosody and the mysql

FW: prosody with mysql clarification

2016-02-12 Thread Stephen Graf
. -Original Message- From: Adam Wolk [mailto:adam.w...@tintagel.pl] Sent: Friday, February 12, 2016 1:54 PM To: Stephen Graf <s_g...@telus.net> Subject: Re: prosody with mysql clarification On Fri, 12 Feb 2016 13:02:56 -0800 "Stephen Graf" <s_g...@telus.net> wrote: > Tha

prosody with mysql clarification

2016-02-11 Thread Stephen Graf
When I tried to set up prosody with sql storage using mysql I followed the instructions in the package and added luadbi-mysql. However prosody did not seem to pick up on it even though the prosody documentation says that nothing more is required. When I looked into what luadbi-mysql provided I