{"action":"created","issue":{"url":"https://api.github.com/repos/Toblerity/Shapely/issues/379","repository_url":"https://api.github.com/repos/Toblerity/Shapely","labels_url":"https://api.github.com/repos/Toblerity/Shapely/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/Toblerity/Shapely/issues/379/comments","events_url":"https://api.github.com/repos/Toblerity/Shapely/issues/379/events","html_url":"https://github.com/Toblerity/Shapely/issues/379","id":146405143,"number":379,"title":"Shapely wheel link path for homebrew libgeos on OS X","user":{"login":"yesimon","id":601839,"avatar_url":"https://avatars.githubusercontent.com/u/601839?v=3","gravatar_id":"","url":"https://api.github.com/users/yesimon","html_url":"https://github.com/yesimon","followers_url":"https://api.github.com/users/yesimon/followers","following_url":"https://api.github.com/users/yesimon/following{/other_user}","gists_url":"https://api.github.com/users/yesimon/gists{/gist_id}","starred_url":"https://api.github.com/users/yesimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yesimon/subscriptions","organizations_url":"https://api.github.com/users/yesimon/orgs","repos_url":"https://api.github.com/users/yesimon/repos","events_url":"https://api.github.com/users/yesimon/events{/privacy}","received_events_url":"https://api.github.com/users/yesimon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-06T19:07:01Z","updated_at":"2016-05-26T21:05:03Z","closed_at":"2016-05-25T16:22:35Z","body":"I tried installing `pip3 install shapely` using the wheel for OS X 10.11 and found that the shared libraries were linked to a specified libgeos:\r\n```\r\nyesimon@oxygen /u/l/l/p/s/s/speedups> otool -L _speedups.cpython-35m-darwin.so \r\n_speedups.cpython-35m-darwin.so:\r\n        @loader_path/../.dylibs/libgeos-3.4.2.dylib (compatibility version 0.0.0, current version 0.0.0)\r\n        @loader_path/../.dylibs/libgeos_c.1.dylib (compatibility version 10.0.0, current version 10.2.0)\r\n        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)\r\n```\r\n\r\nThis results in the same error as SciTools/cartopy#738 when actually running.\r\n\r\nI was able to get it to work by doing `pip3 install --no-use-wheel shapely`, which results in a different link:\r\n```\r\nyesimon@oxygen /u/l/l/p/s/s/speedups> otool -L _speedups.cpython-35m-darwin.so \r\n_speedups.cpython-35m-darwin.so:\r\n        /usr/local/opt/geos/lib/libgeos_c.1.dylib (compatibility version 11.0.0, current version 11.0.0)\r\n        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)\r\n```\r\n\r\nPerhaps adding the `/usr/local/opt/geos` is a reasonable during the link or maybe this should be included as a formula in Homebrew/homebrew-python."},"comment":{"url":"https://api.github.com/repos/Toblerity/Shapely/issues/comments/221994414","html_url":"https://github.com/Toblerity/Shapely/issues/379#issuecomment-221994414","issue_url":"https://api.github.com/repos/Toblerity/Shapely/issues/379","id":221994414,"user":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T21:05:03Z","updated_at":"2016-05-26T21:05:03Z","body":"@yesimon could you do me a big favor and test the new wheel I've just uploaded to Dropbox?\r\n\r\nhttps://www.dropbox.com/s/jpvvxwc69xgqpzq/Shapely-1.5.15-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl?dl=0\r\n\r\nI've compiled the _vectorized and _speedups modules more carefully, linking only libgeos_c. It's looking good on my computer but I don't have a setup that will let me reproduce your problem with cartopy."}}
{"actor":{"display_login":"sgillies"}}