Maintained by: NLnet Labs

[Unbound-users] Unbound 1.2.1 / Sun Studio 12 / Solaris 10 x64.

W.C.A. Wijngaards
Mon Mar 30 16:15:08 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Simon-Bernard,

The problem is the way in which you called configure,
I can reproduce the bug if I do like you do:
$ CC='cc -xc99' CFLAGS=-O LDFLAGS='-lsocket -lnsl' ./configure
(just unbound-checkconf my.conf  will do to trigger it).

However, both unbound and ldns have a good configure to enable -xc99 and
link -lsocket -lnsl and so on. So I can do this and then it works fine:
$ CC=cc ./configure

You may have to make clean for the next compile (you did not have
- --enable-debug, no dependency tracking).  This is both ldns and unbound
compilation.

Best regards,
   Wouter

Simon-Bernard Drolet wrote:
> W.C.A. Wijngaards wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> W.C.A. Wijngaards wrote:
>>   
>>> configure --with-static-exe creates static executables to combat this.
>>> unbound -h shows what libraries it is linked with.
>>>     
>>
>> Sorry, --enable-static-exe
>>   
> 
> Tried on sparc, same Solaris version (10 10/08)and Sun Studio 12
> compiler, same result. I also tried with --enable-static-exe, same result...
> 
> Any ideas on how to debug this ?
> 
> I find this really strange and I didn't get any issues at all with
> nsd... Should a I try a previous version of unbound ? To compare ?
> 
> Thank's.
> 
>> Best regards,
>>    Wouter
>>   
> -- 
> Simon-Bernard Drolet, SPecialiste X Inc., 514.247.6741.
> SBDrolet<at>gmail(dot)com, Sun Solaris Contractor
> Certified Sun Technical Instructor, Sun Certified System Admin (2.5,7,8,9,10)
> Sun Certified Network Admin (2.5,7,8,9,10) and Security Admin for Solaris 9,10.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAknQ0+wACgkQkDLqNwOhpPjkNgCgjtP1R+bofOC98913QEcO02iF
HTYAni20DpMg1ZKStBwQQ83EZX7SRGB2
=spiO
-----END PGP SIGNATURE-----