Maintained by: NLnet Labs

[Unbound-users] build error on Solaris

Ihsan Dogan
Tue Nov 3 21:01:58 CET 2009


Hello,

The most recent version of Unbound does not build on Solaris:

./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

I've tried to build it with the builtin library, but I'm getting the
same results using an external ldns library.




Ihsan


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