On Mon, Jun 13, 2011 at 6:12 PM, Stuart Henderson <[email protected]> wrote: > On 2011-06-13, Abel Abraham Camarillo Ojeda <[email protected]> wrote: >> p5-DBD-Sybase regression tests fail with: >> >> /usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol >> 'pthread_mutex_unlock' >> /usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol >> 'pthread_mutex_destroy' >> /usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol >> 'pthread_mutex_lock' >> /usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol >> 'pthread_atfork' >> /usr/bin/perl:/usr/local/lib/libgnutls.so.17.0: undefined symbol >> 'pthread_mutex_init' >> >> I have a custom application that after this messages it outputs: >> >> lazy binding failed! >> Segmentation fault (core dumped) >> >> Which seems to come from ld.so. > > you could try running things with this set:- > > LD_PRELOAD=/usr/lib/libpthread.so >
Ok, this works... Thanks. > I'm running perl scripts using DBD::Sybase that work without this, > though not using encrypted connections.. > > It might be possible to switch FreeTDS to using openssl instead of > gnutls, which may workaround this problem, have to read the licenses > a bit more closely first.. > >
