Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: jabberd2 problem dlopen() storage_sqlite.so



On Fri, Jan 28, 2011 at 12:11:45PM +0100, Adam wrote:
> When using sqlite3 as a storage for jabberd2, I cannot start 'sm'. The error 
> message says:
> 
> [error] failed loading storage module 'sqlite' (Cannot dlopen non-loadable 
> /usr/lib/libpthread.so.1).
> 
> Indeed, /usr/pkg/lib/jabberd/storage_sqlite.so is linked against 
> /usr/lib/libpthread.so.1.
> I guess the problem is not related to jabberd2 nor sqlite3, but rather our 
> implementation of dlopen().
> Because I have no idea how to fix this, I am asking you for help.
> Help! :)

sqlite3 shouldn't be linked against libpthread on NetBSD -- just make
sure that it is using the libc stubs. libpthread can't be dlopen'd
safely without playing havoc with libc.

Joerg


Home | Main Index | Thread Index | Old Index