Hi Ihsan,

With unbound-1.3.4 and builtin library for ldns:
./libtool --tag=CC --mode=link gcc ./linktest.c -I. -I. -DHAVE_CONFIG_H -I. -I. -Wwrite-strings -W -Wall -O2 -g -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -lldns -lnsl -lsocket -lcrypto -o linktest libtool: link: gcc ./linktest.c -I. -I. -DHAVE_CONFIG_H -I. -I. -Wwrite-strings -W -Wall -O2 -g -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -o .libs/linktest /home/user/release-1.3.4/ldns-src/.libs/libldns.so -lnsl -lsocket -lcrypto -R/usr/local/lib

On Solaris.  And it works fine.  Also the unbound svn trunk works
fine and the ldns svn trunk.  So, it works for me, what is going
wrong on your Solaris machine?

Best regards,
   Wouter

On 11/03/2009 09:01 PM, Ihsan Dogan wrote:
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



_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Reply via email to