{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1746","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1746/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1746/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1746/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1746","id":113373261,"number":1746,"title":"Startup Error: ycm_client_support.so: undefined symbol: PyUnicodeUCS2_FromEncodedObject","user":{"login":"radome","id":1145093,"avatar_url":"https://avatars.githubusercontent.com/u/1145093?v=3","gravatar_id":"","url":"https://api.github.com/users/radome","html_url":"https://github.com/radome","followers_url":"https://api.github.com/users/radome/followers","following_url":"https://api.github.com/users/radome/following{/other_user}","gists_url":"https://api.github.com/users/radome/gists{/gist_id}","starred_url":"https://api.github.com/users/radome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radome/subscriptions","organizations_url":"https://api.github.com/users/radome/orgs","repos_url":"https://api.github.com/users/radome/repos","events_url":"https://api.github.com/users/radome/events{/privacy}","received_events_url":"https://api.github.com/users/radome/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-26T14:52:33Z","updated_at":"2015-10-26T15:08:34Z","closed_at":"2015-10-26T15:08:34Z","body":"I get this error on startup:\r\n```\r\nycm_client_support.so: undefined symbol: PyUnicodeUCS2_FromEncodedObject\r\n```\r\n![vim_error](https://cloud.githubusercontent.com/assets/1145093/10726438/a7e383b4-7bca-11e5-91f3-0698d7000196.JPG)\r\n\r\nI have followed the full installation guide, my python is built from source with the `--enable-shared` flag. I built YCM as the full guide suggested, I also built it successfully with the `install.py` script:\r\n```\r\n± % ./install.py --clang-completer --gocode-completer\r\n-- The C compiler identification is GNU 4.8.4\r\n-- The CXX compiler identification is GNU 4.8.4\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\nYour C++ compiler supports C++11, compiling in that mode.\r\n-- Found PythonLibs: /usr/local/lib/libpython2.7.so (found suitable version \"2.7.10\", minimum required is \"2.6\") \r\n-- Found PythonInterp: /usr/local/bin/python2 (found suitable version \"2.7.6\", minimum required is \"2.6\") \r\nUsing Clang archive: /home/lucadrf/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz\r\nUsing libclang to provide semantic completion for C/C++/ObjC\r\nUsing external libclang: /tmp/ycm_build.rMuGAW/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so.3.7\r\n-- Found PythonInterp: /usr/local/bin/python2 (found version \"2.7.6\") \r\n-- Looking for include file pthread.h\r\n-- Looking for include file pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE  \r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /tmp/ycm_build.rMuGAW\r\n```\r\n\r\nAny ideas?\r\n\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/151167987","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1746#issuecomment-151167987","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1746","id":151167987,"user":{"login":"radome","id":1145093,"avatar_url":"https://avatars.githubusercontent.com/u/1145093?v=3","gravatar_id":"","url":"https://api.github.com/users/radome","html_url":"https://github.com/radome","followers_url":"https://api.github.com/users/radome/followers","following_url":"https://api.github.com/users/radome/following{/other_user}","gists_url":"https://api.github.com/users/radome/gists{/gist_id}","starred_url":"https://api.github.com/users/radome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radome/subscriptions","organizations_url":"https://api.github.com/users/radome/orgs","repos_url":"https://api.github.com/users/radome/repos","events_url":"https://api.github.com/users/radome/events{/privacy}","received_events_url":"https://api.github.com/users/radome/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T15:08:34Z","updated_at":"2015-10-26T15:08:34Z","body":"That worked, thank you."}}