{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/homebrew-neovim/issues/26","labels_url":"https://api.github.com/repos/neovim/homebrew-neovim/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/neovim/homebrew-neovim/issues/26/comments","events_url":"https://api.github.com/repos/neovim/homebrew-neovim/issues/26/events","html_url":"https://github.com/neovim/homebrew-neovim/issues/26","id":57349955,"number":26,"title":"Unable to link on 10.9.5 with system iconv","user":{"login":"jakerr","id":322861,"avatar_url":"https://avatars.githubusercontent.com/u/322861?v=3","gravatar_id":"","url":"https://api.github.com/users/jakerr","html_url":"https://github.com/jakerr","followers_url":"https://api.github.com/users/jakerr/followers","following_url":"https://api.github.com/users/jakerr/following{/other_user}","gists_url":"https://api.github.com/users/jakerr/gists{/gist_id}","starred_url":"https://api.github.com/users/jakerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakerr/subscriptions","organizations_url":"https://api.github.com/users/jakerr/orgs","repos_url":"https://api.github.com/users/jakerr/repos","events_url":"https://api.github.com/users/jakerr/events{/privacy}","received_events_url":"https://api.github.com/users/jakerr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-11T17:40:39Z","updated_at":"2015-02-12T05:29:22Z","closed_at":null,"body":"Linking failed for me with:\r\n\r\n```\r\nLinking C executable ../../bin/nvim\r\nUndefined symbols for architecture x86_64:\r\n  \"_iconv\", referenced from:\r\n      _readfile in fileio.c.o\r\n      _buf_write_bytes in fileio.c.o\r\n      _my_iconv_open in mbyte.c.o\r\n      _string_convert_ext in mbyte.c.o\r\n     (maybe you meant: _my_iconv_open)\r\n  \"_iconv_close\", referenced from:\r\n      _readfile in fileio.c.o\r\n      _buf_write in fileio.c.o\r\n      _mb_init in mbyte.c.o\r\n      _utf_find_illegal in mbyte.c.o\r\n      _my_iconv_open in mbyte.c.o\r\n      _convert_setup_ext in mbyte.c.o\r\n  \"_iconv_open\", referenced from:\r\n      _my_iconv_open in mbyte.c.o\r\n     (maybe you meant: _my_iconv_open)\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[3]: *** [bin/nvim] Error 1\r\nmake[2]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2\r\nmake[1]: *** [all] Error 2\r\nmake: *** [nvim] Error 2\r\n```\r\n\r\nI tried debugging with `doctor` removing any `LIBRARY_PATH` settings etc. ensuring latest `Xcode` and `Xcode Command Line Tools`.\r\n\r\nThe only thing that worked for me was to install inconv from the `homebrew/dupes` tap and force link it.\r\n\r\n```\r\nbrew install homebrew/dupes/libiconv\r\nbrew link libiconv --force\r\n```\r\n\r\nFeel free to close if this is expected. I just wanted to document the issue for the next person."},"comment":{"url":"https://api.github.com/repos/neovim/homebrew-neovim/issues/comments/74019979","html_url":"https://github.com/neovim/homebrew-neovim/issues/26#issuecomment-74019979","issue_url":"https://api.github.com/repos/neovim/homebrew-neovim/issues/26","id":74019979,"user":{"login":"jakerr","id":322861,"avatar_url":"https://avatars.githubusercontent.com/u/322861?v=3","gravatar_id":"","url":"https://api.github.com/users/jakerr","html_url":"https://github.com/jakerr","followers_url":"https://api.github.com/users/jakerr/followers","following_url":"https://api.github.com/users/jakerr/following{/other_user}","gists_url":"https://api.github.com/users/jakerr/gists{/gist_id}","starred_url":"https://api.github.com/users/jakerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakerr/subscriptions","organizations_url":"https://api.github.com/users/jakerr/orgs","repos_url":"https://api.github.com/users/jakerr/repos","events_url":"https://api.github.com/users/jakerr/events{/privacy}","received_events_url":"https://api.github.com/users/jakerr/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T05:29:22Z","updated_at":"2015-02-12T05:29:22Z","body":"No I've never used MacPorts or Fink. I can try to reproduce and dig a bit more."}}