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 02:16:54PM +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
> 
> Why not? configure is looking for pthread_create().

I only have the amalgamation sources at hand and they don't use
pthread_create (nor can I think of a reason for that...).

Joerg


Home | Main Index | Thread Index | Old Index