{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9170","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9170/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9170/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9170/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9170","id":70171487,"number":9170,"title":"LoadError: cannot load such file -- krb5_auth","user":{"login":"programacion-web","id":7329190,"avatar_url":"https://avatars.githubusercontent.com/u/7329190?v=3","gravatar_id":"","url":"https://api.github.com/users/programacion-web","html_url":"https://github.com/programacion-web","followers_url":"https://api.github.com/users/programacion-web/followers","following_url":"https://api.github.com/users/programacion-web/following{/other_user}","gists_url":"https://api.github.com/users/programacion-web/gists{/gist_id}","starred_url":"https://api.github.com/users/programacion-web/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/programacion-web/subscriptions","organizations_url":"https://api.github.com/users/programacion-web/orgs","repos_url":"https://api.github.com/users/programacion-web/repos","events_url":"https://api.github.com/users/programacion-web/events{/privacy}","received_events_url":"https://api.github.com/users/programacion-web/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T16:16:53Z","updated_at":"2015-09-05T11:11:39Z","closed_at":null,"body":"Hi friends,\r\n\r\nI'm trying to run Gitlab in OpenBSD.\r\n\r\nI am also documenting it in a document that I want to post to the wiki.\r\n\r\nBy using the following command, I get an error.\r\n\r\n```bash\r\n# sudo -u git -H /usr/local/lib/ruby/gems/2.1/gems/bundler-1.9.4/bin/bundle exec rake gitlab:setup RAILS_ENV=production \r\nrake aborted!\r\nLoadError: cannot load such file -- krb5_auth\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `block in require'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/omniauth-kerberos-0.2.0/lib/omniauth/strategies/kerberos.rb:2:in `<top (required)>'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `block in require'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/activesupport-4.1.9/lib/active_support/dependencies.rb:247:in `require'\r\n/var/www/git/gitlab/vendor/bundle/ruby/2.1/gems/omniauth-kerberos-0.2.0/lib/omniauth-kerberos.rb:1:in `<top (required)>'\r\n/var/www/git/gitlab/config/application.rb:6:in `<top (required)>'\r\n/var/www/git/gitlab/Rakefile:5:in `require'\r\n/var/www/git/gitlab/Rakefile:5:in `<top (required)>'\r\n(See full trace by running task with --trace)\r\n```\r\n\r\nI try to install timfel-krb5-auth, I get an error\r\n\r\n```bash\r\n# gem install timfel-krb5-auth\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing timfel-krb5-auth:\r\n        ERROR: Failed to build gem native extension.\r\n\r\n    /usr/local/bin/ruby21 extconf.rb\r\nchecking for main() in -lc... yes\r\nchecking for krb5_init_context() in -lkrb5... no\r\n*** extconf.rb failed ***\r\nCould not create Makefile due to some reason, probably lack of necessary\r\nlibraries and/or headers.  Check the mkmf.log file for more details.  You may\r\nneed configuration options.\r\n\r\nProvided configuration options:\r\n        --with-opt-dir\r\n        --without-opt-dir\r\n        --with-opt-include\r\n        --without-opt-include=${opt-dir}/include\r\n        --with-opt-lib\r\n        --without-opt-lib=${opt-dir}/lib\r\n        --with-make-prog\r\n        --without-make-prog\r\n        --srcdir=.\r\n        --curdir\r\n        --ruby=/usr/local/bin/ruby21\r\n        --with-krb5_auth-dir\r\n        --without-krb5_auth-dir\r\n        --with-krb5_auth-include\r\n        --without-krb5_auth-include=${krb5_auth-dir}/include\r\n        --with-krb5_auth-lib\r\n        --without-krb5_auth-lib=${krb5_auth-dir}/lib\r\n        --with-clib\r\n        --without-clib\r\n        --with-krb5lib\r\n        --without-krb5lib\r\nextconf.rb:7:in `<main>': Cannot find krb5 library (RuntimeError)\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in /usr/local/lib/ruby/gems/2.1/gems/timfel-krb5-auth-0.8.3 for inspection.\r\nResults logged to /usr/local/lib/ruby/gems/2.1/extensions/x86_64-openbsd/2.1/timfel-krb5-auth-0.8.3/gem_make.out\r\n```\r\nHow I can fix this?\r\n\r\nthanks\r\n----edit----\r\nI think OpenBSD no longer use kerberos.\r\n\r\nI'm not sure if it has to do. the GEM with kerberos but I found this:\r\n(like http://undeadly.org/cgi?action=article&sid=20140425065910)"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/137943681","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9170#issuecomment-137943681","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9170","id":137943681,"user":{"login":"Razer6","id":278301,"avatar_url":"https://avatars.githubusercontent.com/u/278301?v=3","gravatar_id":"","url":"https://api.github.com/users/Razer6","html_url":"https://github.com/Razer6","followers_url":"https://api.github.com/users/Razer6/followers","following_url":"https://api.github.com/users/Razer6/following{/other_user}","gists_url":"https://api.github.com/users/Razer6/gists{/gist_id}","starred_url":"https://api.github.com/users/Razer6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razer6/subscriptions","organizations_url":"https://api.github.com/users/Razer6/orgs","repos_url":"https://api.github.com/users/Razer6/repos","events_url":"https://api.github.com/users/Razer6/events{/privacy}","received_events_url":"https://api.github.com/users/Razer6/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T11:11:39Z","updated_at":"2015-09-05T11:11:39Z","body":"Kerberos is now in a dedicated group to avoid such problems."}}