{"action":"created","issue":{"url":"https://api.github.com/repos/pykler/yajl-py/issues/10","labels_url":"https://api.github.com/repos/pykler/yajl-py/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/pykler/yajl-py/issues/10/comments","events_url":"https://api.github.com/repos/pykler/yajl-py/issues/10/events","html_url":"https://github.com/pykler/yajl-py/issues/10","id":69319091,"number":10,"title":"Unable to install on Ubuntu 14.04","user":{"login":"chrisspen","id":116631,"avatar_url":"https://avatars.githubusercontent.com/u/116631?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisspen","html_url":"https://github.com/chrisspen","followers_url":"https://api.github.com/users/chrisspen/followers","following_url":"https://api.github.com/users/chrisspen/following{/other_user}","gists_url":"https://api.github.com/users/chrisspen/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisspen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisspen/subscriptions","organizations_url":"https://api.github.com/users/chrisspen/orgs","repos_url":"https://api.github.com/users/chrisspen/repos","events_url":"https://api.github.com/users/chrisspen/events{/privacy}","received_events_url":"https://api.github.com/users/chrisspen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-18T15:27:09Z","updated_at":"2015-04-19T23:08:55Z","closed_at":null,"body":"If I install the yajl2 packages:\r\n\r\n    sudo apt-get install libyajl2 libyajl-dev\r\n\r\nand then try to install yajl-py from pypi:\r\n\r\n    pip install yajl-py\r\n\r\nI get a symbol error:\r\n\r\n    Traceback (most recent call last):\r\n\r\n      File \"<string>\", line 17, in <module>\r\n\r\n      File \"/usr/local/project_site/.env/build/yajl-py/setup.py\", line 4, in <module>\r\n\r\n        from yajl import __version__ as version\r\n\r\n      File \"yajl/__init__.py\", line 13, in <module>\r\n\r\n        from yajl_common import *\r\n\r\n      File \"yajl/yajl_common.py\", line 87, in <module>\r\n\r\n        yajl.yajl_gen_reset.restype = None\r\n\r\n      File \"/usr/lib/python2.7/ctypes/__init__.py\", line 378, in __getattr__\r\n\r\n        func = self.__getitem__(name)\r\n\r\n      File \"/usr/lib/python2.7/ctypes/__init__.py\", line 383, in __getitem__\r\n\r\n        func = self._FuncPtr((name_or_ordinal, self))\r\n\r\n    AttributeError: /usr/lib/x86_64-linux-gnu/libyajl.so: undefined symbol: yajl_gen_reset\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pykler/yajl-py/issues/comments/94321982","html_url":"https://github.com/pykler/yajl-py/issues/10#issuecomment-94321982","issue_url":"https://api.github.com/repos/pykler/yajl-py/issues/10","id":94321982,"user":{"login":"pykler","id":45146,"avatar_url":"https://avatars.githubusercontent.com/u/45146?v=3","gravatar_id":"","url":"https://api.github.com/users/pykler","html_url":"https://github.com/pykler","followers_url":"https://api.github.com/users/pykler/followers","following_url":"https://api.github.com/users/pykler/following{/other_user}","gists_url":"https://api.github.com/users/pykler/gists{/gist_id}","starred_url":"https://api.github.com/users/pykler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pykler/subscriptions","organizations_url":"https://api.github.com/users/pykler/orgs","repos_url":"https://api.github.com/users/pykler/repos","events_url":"https://api.github.com/users/pykler/events{/privacy}","received_events_url":"https://api.github.com/users/pykler/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T23:08:55Z","updated_at":"2015-04-19T23:08:55Z","body":"Did this resolve your issues?\n\nOn Sat, Apr 18, 2015 at 9:55 PM Hatem Nassrat <hnassrat@gmail.com> wrote:\n\n> The current versions of yajl-py you just need the compiled so (no need for\n> libyajl-dev). If you do a `dpkg -S` on the so.1 file you will see that it\n> is a different package than the so.2 file that you pointed to in the\n> beginning of the thread.\n>\n> Also the error you mentioned points to the fact that it is pointed to yajl\n> 1.x and not 2. The reason it seems to work with a sightly older version of\n> yajl-py is that at version 2.0.2 of yajl-py the definitions to match the\n> headers file in yajl were not there ... This was added in 2.0.3 of yajl-py.\n> If you actually run the test suite you will notice that it doesn't quite\n> work.\n> On 18 Apr 2015 8:30 pm, \"Chris Spencer\" <notifications@github.com> wrote:\n>\n>> I don't. That's provided by the libyajl-dev package, which I thought I\n>> need for compiling yajl-py. I'm not sure that is version 1. The docs\n>> <https://launchpad.net/ubuntu/trusty/+package/libyajl-dev> say it's\n>> version 2.\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/pykler/yajl-py/issues/10#issuecomment-94213297>.\n>>\n>\n"}}