Skip to content

Commit

Permalink
Fix: compile error "undefined reference to symbol 'krb5_free_context@…
Browse files Browse the repository at this point in the history
…@krb5_3_MIT'"
  • Loading branch information
petRUShka committed Jan 30, 2012
1 parent 0c5285d commit 1c83bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
@@ -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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.