Hi, EnriqueG
You log is very limited, but you are building on darwin 8 (OSX Tiger) with GCC 4 , please try to build it with a updated version of libtool.
add:
into that formula.Code:depends_on "libtool"
just as new entry, right under the presentCode:depends_on "stoken" => :optional
If it still fails, try building it with a more current compiler like gcc6.
And if even this dont work out, I might be able to create a patch for tiger. But for that I would need a build log with more debug output in it.
We did just test this on darwin 9 (OSX Leopard) sorryBut you can test it on tiger, thats awesome
![]()
I installed gcc7.3 (i ran brew install gcc) and the error is the same i think.
Code:
==> ./configure --prefix=/usr/local/Cellar/openconnect/8.02 --sbindir=/usr/local
==> make install
Last 15 lines from /Users/enrique/Library/Logs/Homebrew/openconnect/02.make:
CC libopenconnect_la-oath.lo
CC libopenconnect_la-gpst.lo
CC libopenconnect_la-auth-globalprotect.lo
CC libopenconnect_la-yubikey.lo
CC libopenconnect_la-gssapi.lo
CC libopenconnect_la-gnutls.lo
CC libopenconnect_la-gnutls_tpm.lo
CC libopenconnect_la-gnutls_tpm2.lo
CC libopenconnect_la-iconv.lo
CC libopenconnect_la-tun.lo
CCLD libopenconnect.la
ld: Undefined symbols:
_gzdirect
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
make: *** [libopenconnect.la] Error 1
READ THIS: https://github.com/mistydemeo/tigerbrew/wiki/troubleshooting
These open issues may also help:
openconnect failed to build on 10.5 https://github.com/mistydemeo/tigerbrew/issues/584
openconnect: add libxml2 dependency to resolve build issue on older OSX https://github.com/mistydemeo/tigerbrew/pull/628