[csw-maintainers] Unbound build error

Ihsan Dogan ihsan at dogan.ch
Wed Nov 4 14:12:56 CET 2009


Hi Dago,

On 04.11.2009 12:11, Dagobert Michelsen wrote:

>> While building unbound:
>> ./libtool --tag=CC --mode=link /opt/csw/gcc4/bin/gcc ./linktest.c -I.
>> -I. -I/opt/csw/include -I/opt/csw/include -DHAVE_CONFIG_H -I. -I.
>> -Wwrite-strings -W -Wall -O2 -g -O2 -pipe -mcpu=v8 -I/opt/csw/include
>> -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112
>> -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -lldns
>> -lnsl -lsocket  -lcrypto -o linktest
>> libtool: link: /opt/csw/gcc4/bin/gcc ./linktest.c -I. -I.
>> -I/opt/csw/include -I/opt/csw/include -DHAVE_CONFIG_H -I. -I.
>> -Wwrite-strings -W -Wall -O2 -g -O2 -pipe -mcpu=v8 -I/opt/csw/include
>> -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112
>> -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE -o linktest
>> -lldns -lnsl -lsocket -lcrypto
>> ld: fatal: library -lldns: not found
>> ld: fatal: library -lcrypto: not found
>> ld: fatal: File processing errors. No output written to linktest
> 
> Obviously -L/opt/csw/lib is missing here. When I try to reproduce it
> I cannot see this problem and I get a package. Some tests are
> failing though, which may or may not be related this issue.
> 
> Additionally it looks like ldns_devel was not installed on the farm.
> Did you split off _devel lately? Anyway, I have installed CSWldnsdevel
> on all buildfarm servers.

After you have installed ldns_devel as well, but in the first place I've
tried to build it against the builtin ldns library. In theory, this
should work as well.



Ihsan

-- 
ihsan at dogan.ch		http://blog.dogan.ch/



More information about the maintainers mailing list