[Unbound-users] BINDs views in unbound
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Mon Mar 30 14:48:03 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Artis,
I am glad that you found out.
It turns out that in the configure tests the -lssl was changing the
outcome of the later -pthread test. And without that flag it would end
up using thread-unsafe library calls. I've fixed in svn trunk r1569 so
that the pthread test is done before the other libraries(SSL, python).
(I guess your /usr/local/libssl and /usr/lib/libssl are different, one
has libthr linked in, which makes the pthread tests act awkward, since
pthreads seem to be available without any flags)
Thanks,
Best regards,
Wouter
Artis Caune wrote:
> 2009/3/30 Artis Caune <artis.caune at gmail.com>:
>> I diffed configure output and found this:
>>
>> --- bad.configure
>> +++ good.configure
>>
>> -checking for SSL... found in /usr/local
>> +checking for SSL... found in /usr
>>
>> -checking whether pthreads work without any flags... yes
>> +checking whether pthreads work without any flags... no
>> +checking whether pthreads work with -Kthread... no
>> +checking whether pthreads work with -kthread... no
>> +checking for the pthreads library -llthread... no
>> +checking whether pthreads work with -pthread... yes
>>
>>
>>
>>
>> and in make output there was only include flag diffs:
>>
>> --- bad.make
>> +++ good.make
>>
>> - ... -I/usr/include -I/usr/local/include ...
>> + ... -I/usr/local/include -I/usr/local/include ...
>
> I missed that it's also missing "-pthread" flag in cc and ./libtool
> (due to very long lines)
>
> so that explains all.
>
> I tried to fix all flags (as I did) and added "-pthread" to CFLAGS and
> yes, my unbound is working with openssl from ports without freezing
> :))))
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAknQ26MACgkQkDLqNwOhpPiI1QCbBopTyUnZYfl/9PXk9r3nQdCA
GhUAn0zBXJrs9Aj8G0qGoG89WyUJ3lyo
=H21/
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list