{"action":"created","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/277","labels_url":"https://api.github.com/repos/google/protobuf/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/277/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/277/events","html_url":"https://github.com/google/protobuf/issues/277","id":67230937,"number":277,"title":"[python cpp_implementation] ImportError: dlopen(protobuf/python/google/protobuf/pyext/_message.so, 2): Symbol not found: __ZN6google8protobuf14FileDescriptor10SyntaxNameENS1_6SyntaxE","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-08T22:09:45Z","updated_at":"2015-07-09T21:21:49Z","closed_at":"2015-04-11T01:33:17Z","body":"Following the instructions at https://github.com/google/protobuf/blob/master/python/README.md, specifically:\r\n>  If you want to build/test c++ implementation, run:\r\n $ python setup.py build --cpp_implementation\r\n $ python setup.py google_test --cpp_implementation\r\n\r\nI get the error:\r\n```\r\n$ python setup.py build --cpp_implementation\r\n...\r\n$ python setup.py google_test --cpp_implementation\r\nrunning google_test\r\nrunning egg_info\r\nwriting requirements to protobuf.egg-info/requires.txt\r\nwriting protobuf.egg-info/PKG-INFO\r\nwriting namespace_packages to protobuf.egg-info/namespace_packages.txt\r\nwriting top-level names to protobuf.egg-info/top_level.txt\r\nwriting dependency_links to protobuf.egg-info/dependency_links.txt\r\nreading manifest file 'protobuf.egg-info/SOURCES.txt'\r\nwriting manifest file 'protobuf.egg-info/SOURCES.txt'\r\nrunning build_ext\r\ncopying build/lib.macosx-10.9-x86_64-2.7/google/protobuf/pyext/_message.so -> google/protobuf/pyext\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 210, in <module>\r\n    \"Protocol Buffers are Google's data interchange format.\",\r\n  File \"/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py\", line 151, in setup\r\n    dist.run_commands()\r\n  File \"/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/usr/local/lib/python2.7/site-packages/setuptools/command/test.py\", line 142, in run\r\n    self.with_project_on_sys_path(self.run_tests)\r\n  File \"/usr/local/lib/python2.7/site-packages/setuptools/command/test.py\", line 122, in with_project_on_sys_path\r\n    func()\r\n  File \"/Users/tamird/src/protobuf/python/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/setup_command.py\", line 157, in run_tests\r\n    ok &= self._RunTestModule(file_path)\r\n  File \"/Users/tamird/src/protobuf/python/.eggs/google_apputils-0.4.2-py2.7.egg/google/apputils/setup_command.py\", line 123, in _RunTestModule\r\n    module = imp.load_module(module_name, *import_tuple)\r\n  File \"google/protobuf/internal/descriptor_database_test.py\", line 38, in <module>\r\n    from google.protobuf import descriptor_pb2\r\n  File \"/Users/tamird/src/protobuf/python/google/protobuf/descriptor_pb2.py\", line 6, in <module>\r\n    from google.protobuf import descriptor as _descriptor\r\n  File \"/Users/tamird/src/protobuf/python/google/protobuf/descriptor.py\", line 49, in <module>\r\n    from google.protobuf.pyext import _message\r\nImportError: dlopen(/Users/tamird/src/protobuf/python/google/protobuf/pyext/_message.so, 2): Symbol not found: __ZN6google8protobuf14FileDescriptor10SyntaxNameENS1_6SyntaxE\r\n  Referenced from: /Users/tamird/src/protobuf/python/google/protobuf/pyext/_message.so\r\n  Expected in: flat namespace\r\n in /Users/tamird/src/protobuf/python/google/protobuf/pyext/_message.so\r\n```\r\n\r\nInspecting `python/google/protobuf/pyext/_message.so`:\r\n```\r\n$ nm google/protobuf/pyext/_message.so | grep __ZN6google8protobuf14FileDescriptor10SyntaxNameENS1_6SyntaxE\r\n                 U __ZN6google8protobuf14FileDescriptor10SyntaxNameENS1_6SyntaxE\r\n```\r\nSo the symbol is undefined? Not sure what to make of this. cc @haberman "},"comment":{"url":"https://api.github.com/repos/google/protobuf/issues/comments/120147653","html_url":"https://github.com/google/protobuf/issues/277#issuecomment-120147653","issue_url":"https://api.github.com/repos/google/protobuf/issues/277","id":120147653,"user":{"login":"haberman","id":1270,"avatar_url":"https://avatars.githubusercontent.com/u/1270?v=3","gravatar_id":"","url":"https://api.github.com/users/haberman","html_url":"https://github.com/haberman","followers_url":"https://api.github.com/users/haberman/followers","following_url":"https://api.github.com/users/haberman/following{/other_user}","gists_url":"https://api.github.com/users/haberman/gists{/gist_id}","starred_url":"https://api.github.com/users/haberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haberman/subscriptions","organizations_url":"https://api.github.com/users/haberman/orgs","repos_url":"https://api.github.com/users/haberman/repos","events_url":"https://api.github.com/users/haberman/events{/privacy}","received_events_url":"https://api.github.com/users/haberman/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T21:21:49Z","updated_at":"2015-07-09T21:21:49Z","body":"It looks like you are on MacOS X?"}}