Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: compile error "undefined reference to symbol 'krb5_free_context@…

…@krb5_3_MIT'"
  • Loading branch information...
commit 1c83bf2c8ed30a170869d4e9d58d9f468874c542 1 parent 0c5285d
@petRUShka petRUShka authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config
View
2  config
@@ -1,4 +1,4 @@
ngx_addon_name=ngx_http_auth_sso_module
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_sso_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_sso_module.c"
-CORE_LIBS="$CORE_LIBS -lspnegohelp -lgssapi_krb5"
+CORE_LIBS="$CORE_LIBS -lspnegohelp -lgssapi_krb5 `krb5-config --libs gssapi`"

2 comments on commit 1c83bf2

@atlant2011

[quote]

krb5-config --libs gssapi

-Wl,-O1 -Wl,--as-needed -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl
[/quote]
may be replace
CORE_LIBS="$CORE_LIBS -lspnegohelp -lgssapi_krb5 krb5-config --libs gssapi"
to
CORE_LIBS="$CORE_LIBS -lspnegohelp krb5-config --libs gssapi"

@petRUShka

If you have tested this, please make fork and send pull request

Please sign in to comment.
Something went wrong with that request. Please try again.