help-gsasl
[Top][All Lists]
Advanced

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

Trouble linking to gsasl 1.6.1 on Mac OS Lion


From: Lothar May
Subject: Trouble linking to gsasl 1.6.1 on Mac OS Lion
Date: Sun, 18 Sep 2011 00:26:39 +0200

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.

Googling for it, this seems to be a known issue, it seems that strnlen
is simply not available. Does anyone have an idea how to solve this
issue, e.g. which function to use instead for the same result?

Regards,
Lothar



reply via email to

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