{"action":"created","issue":{"url":"https://api.github.com/repos/fplll/fplll/issues/205","repository_url":"https://api.github.com/repos/fplll/fplll","labels_url":"https://api.github.com/repos/fplll/fplll/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/fplll/fplll/issues/205/comments","events_url":"https://api.github.com/repos/fplll/fplll/issues/205/events","html_url":"https://github.com/fplll/fplll/issues/205","id":179078315,"number":205,"title":"enumeration link error on OSX","user":{"login":"malb","id":1423682,"avatar_url":"https://avatars.githubusercontent.com/u/1423682?v=3","gravatar_id":"","url":"https://api.github.com/users/malb","html_url":"https://github.com/malb","followers_url":"https://api.github.com/users/malb/followers","following_url":"https://api.github.com/users/malb/following{/other_user}","gists_url":"https://api.github.com/users/malb/gists{/gist_id}","starred_url":"https://api.github.com/users/malb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malb/subscriptions","organizations_url":"https://api.github.com/users/malb/orgs","repos_url":"https://api.github.com/users/malb/repos","events_url":"https://api.github.com/users/malb/events{/privacy}","received_events_url":"https://api.github.com/users/malb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-25T10:02:22Z","updated_at":"2016-09-26T08:47:06Z","closed_at":null,"body":"I'm seeing this error on OSX 10.10 when running fpylll (believe the bug to be in fplll though):\r\n\r\n```\r\nImportError: dlopen(/Users/vagrant/fplll/lib/python2.7/site-packages/fpylll/fplll/enumeration.so, 2): Symbol not found: __ZN5fplll14EnumerationDynINS_5FP_NRIA1_10dpe_structEEE16process_solutionEd\r\n\r\nReferenced from: /Users/vagrant/fplll/lib/python2.7/site-packages/fpylll/fplll/enumeration.so\r\n\r\nExpected in: flat namespace\r\n in /Users/vagrant/fplll/lib/python2.7/site-packages/fpylll/fplll/enumeration.so\r\n```\r\n\r\nIndeed, the symbol is undefined:\r\n\r\n```bash\r\n$ nm enumeration.so | grep __ZN5fplll14EnumerationDynINS_5FP_NRIA1_10dpe_structEEE16process_solutionEd\r\n                 U __ZN5fplll14EnumerationDynINS_5FP_NRIA1_10dpe_structEEE16process_solutionEd\r\n```\r\n\r\nenumeration.so seems to link to the right libfplll:\r\n\r\n```bash\r\n$ otool -L enumeration.so\r\nenumeration.so:\r\n        /usr/local/opt/gmp/lib/libgmp.10.dylib (compatibility version 14.0.0, current version 14.1.0)\r\n        /usr/local/opt/mpfr/lib/libmpfr.4.dylib (compatibility version 6.0.0, current version 6.4.0)\r\n        /Users/vagrant/fplll/lib/libfplll.2.dylib (compatibility version 3.0.0, current version 3.1.0)\r\n        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)\r\n        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)\r\n```\r\n\r\nWhich seems to define the right symbol:\r\n\r\n```bash\r\n$ nm /Users/vagrant/fplll/lib/libfplll.2.dylib | grep __ZN5fplll14EnumerationDynINS_5FP_NRIA1_10dpe_structEEE16process_solutionEd\r\n000000000000c500 t __ZN5fplll14EnumerationDynINS_5FP_NRIA1_10dpe_structEEE16process_solutionEd\r\n```"},"comment":{"url":"https://api.github.com/repos/fplll/fplll/issues/comments/249513237","html_url":"https://github.com/fplll/fplll/issues/205#issuecomment-249513237","issue_url":"https://api.github.com/repos/fplll/fplll/issues/205","id":249513237,"user":{"login":"malb","id":1423682,"avatar_url":"https://avatars.githubusercontent.com/u/1423682?v=3","gravatar_id":"","url":"https://api.github.com/users/malb","html_url":"https://github.com/malb","followers_url":"https://api.github.com/users/malb/followers","following_url":"https://api.github.com/users/malb/following{/other_user}","gists_url":"https://api.github.com/users/malb/gists{/gist_id}","starred_url":"https://api.github.com/users/malb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malb/subscriptions","organizations_url":"https://api.github.com/users/malb/orgs","repos_url":"https://api.github.com/users/malb/repos","events_url":"https://api.github.com/users/malb/events{/privacy}","received_events_url":"https://api.github.com/users/malb/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T08:47:06Z","updated_at":"2016-09-26T08:47:06Z","body":"It seems this is caused by some bad interaction with brew. Starting from a system without homebrew and installing everything in Sage instead, I don't run into this problem."}}
{"actor":{"display_login":"malb"}}