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 <giova...@paclan.it> 
wrote:
>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
>on
>> my CURRENT machine.
>> 
>> As you can see below loading the dbdmysql library un an interactive
>Lua prompt
>> with linker debugging set results in an error when trying to load
>> libmysqlclient.so.27.0 which loads lpthread. This is a little odd,
>because it
>> loads fine in ldd.. Stuart, any ideas what could cause this?
>> 
>perl is linked with -lpthread to be able to load DBI-mysql, could it be
>the same reason ?
> Cheers
>  Giovanni

-- 
Sent from a phone, please excuse the formatting.

Reply via email to