[Help-gnutls] Re: Compiling on Mac OS X, 2.0.4 and up all fail at linking phase

Simon Josefsson simon at josefsson.org
Wed Feb 27 01:00:23 CET 2008


Mike Reys <mike at reys.be> writes:

> Hi,
>
> I'm trying to get this package compiled in order to get FileZilla
> available again on Mac OS 10.4.x.
>
> The configure script ran fine, but there are some issues during linking.
>
> Im' working with
> $ gcc --version
> i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> The error message I get is the following
> ../lib/.libs/libgnutls.dylib(gc-pbkdf2-sha1.o) definition of _gc_pbkdf2_sha1
> ld: Undefined symbols:
> _deflate
> _deflateEnd
> _deflateInit2_
> _deflateInit_
> _inflate
> _inflateEnd
> _inflateInit2_
> _inflateInit_
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [libgnutls-extra.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> It is consistent with all versions later than (or equal to) 2.0.4.

This suggest some problem with libz.  You could start by trying
--without-zlib to see if it solves the problem.

> Is this the right version mailing list for help, if not, are there any
> forums that could get me through the process of getting gnutls
> compiled?

This is the right fora.

There is http://gnutls.darwinports.com/ but I haven't tried it.

/Simon





More information about the Gnutls-help mailing list