problems on OpenSolaris
Jeff Haferman
jeff at haferman.com
Sun Jan 24 13:45:36 EST 2010
David Woodhouse wrote:
> On Sat, 2010-01-23 at 16:21 -0800, Jeff Haferman wrote:
>> Anyway, I installed "tun" prior to finding the OpenConnect info. I
>> then found OpenConnect, and followed the instructions. I first tried
>> OpenConnect 2.21, but it would not compile.
>
> Er, can you show the error message?
"strndup" is missing on the link. I did a cursory search and it is
not part of opensolaris, I didn't see an obvious fix:
Undefined first referenced
symbol in file
strndup ssl.o
ld: fatal: symbol referencing errors. No output written to openconnect
collect2: ld returned 1 exit status
>
>> So I went to the 2.10 version, and it compiled fine (I used gcc and
>> gmake).
>>
>> ./openconnect --script=./vpnc-script https://<my-anyconnect-server>
>>
>> I get
>> getaddrinfo failed: node name or service name not known
>
> Hm. That sounds like either DNS lookups aren't working, or getaddrinfo()
> on Solaris is broken.
>
> Can you check the arguments to getaddrinfo() are sane? Make it print
> them in ssl.c just before the call to getaddrinfo().
>
OK, it was operator error.... I was supplying the "https://" prefix
(as shown at http://www.infradead.org/openconnect.html)... leaving
that prefix off and simply supplying the FQDN works and I'm in!
More information about the openconnect-devel
mailing list