help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble linking to gsasl 1.6.1 on Mac OS Lion


From: Lothar May
Subject: Re: Trouble linking to gsasl 1.6.1 on Mac OS Lion
Date: Sat, 22 Oct 2011 23:44:47 +0200

Hi,

2011/9/18 Lothar May <address@hidden>:
> Hi,
>
> I just wanted to update gsasl from 1.4.4 to 1.6.1 on my Mac, but I ran
> into trouble. I'm now getting the following error when linking to
> libgsasl:
>
> Undefined symbols for architecture x86_64:
>  "_strnlen", referenced from:
>      _scram_parse_client_first in libgsasl.a(lt20-parser.o)
>      _scram_parse_server_final in libgsasl.a(lt20-parser.o)
>      _scram_parse_client_final in libgsasl.a(lt20-parser.o)
>      _scram_parse_server_first in libgsasl.a(lt20-parser.o)
>
> I used "./configure CC="gcc -arch x86_64 -mmacosx-version-min=10.5"
> --disable-gs2 --disable-gssapi" to configure the gsasl build.
>

I've finally fixed this issue by using CC="gcc -arch x86_64
-mmacosx-version-min=10.6 -isysroot /Developer/SDKs/MacOSX10.6.sdk".
There is no support for Mac OS 10.5 then, but I can live with that.

Regards,
Lothar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]