{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/cartopy/issues/796","repository_url":"https://api.github.com/repos/SciTools/cartopy","labels_url":"https://api.github.com/repos/SciTools/cartopy/issues/796/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/cartopy/issues/796/comments","events_url":"https://api.github.com/repos/SciTools/cartopy/issues/796/events","html_url":"https://github.com/SciTools/cartopy/issues/796","id":177673379,"number":796,"title":"can dependency on proj version be relaxed?","user":{"login":"alaniwi","id":5577313,"avatar_url":"https://avatars.githubusercontent.com/u/5577313?v=3","gravatar_id":"","url":"https://api.github.com/users/alaniwi","html_url":"https://github.com/alaniwi","followers_url":"https://api.github.com/users/alaniwi/followers","following_url":"https://api.github.com/users/alaniwi/following{/other_user}","gists_url":"https://api.github.com/users/alaniwi/gists{/gist_id}","starred_url":"https://api.github.com/users/alaniwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaniwi/subscriptions","organizations_url":"https://api.github.com/users/alaniwi/orgs","repos_url":"https://api.github.com/users/alaniwi/repos","events_url":"https://api.github.com/users/alaniwi/events{/privacy}","received_events_url":"https://api.github.com/users/alaniwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-18T20:05:01Z","updated_at":"2016-09-18T20:19:11Z","closed_at":null,"body":"I am trying to build RPM for cartopy 0.14.2 to run on RHEL6 systems (the JASMIN service at CEDA), and it is insisting on proj >= 4.9.0.\r\n\r\nRHEL6 has RPMs available for proj 4.8.0 (in ftp://ftp.pbone.net/mirror/elgis.argeo.org/repos/6/elgis/x86_64/).  I have also succeeded in building an RPM for the latest proj (4.9.3), but this updates the shared library major version number: 4.8.0 contains `/usr/lib64/libproj.so.0.7.0` whereas 4.9.3 contains `/usr/lib64/libproj.so.12`.  Updating proj to 4.9.3 would therefore break a number of RPMs packaged for RedHat for RHEL6 that are dynamically linked to libproj.so.0 (including libgeotiff, ogdi, shapelib), so an update would require building bespoke RPMs for these other packages that depend on proj.  This is a relatively high barrier to upgrading cartopy.  Does cartopy actually depend on any features more recent than in proj 4.8.0?\r\n\r\nI still need to experiment a little with intermediate versions of proj and cartopy to see how far I can push the updates of proj and cartopy while still using libproj.so.0, but once I have established the relevant versions, they will probably represent the latest version of cartopy that I would consider packaging for RHEL6 unless the dependency on the proj version can be relaxed.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/SciTools/cartopy/issues/comments/247874323","html_url":"https://github.com/SciTools/cartopy/issues/796#issuecomment-247874323","issue_url":"https://api.github.com/repos/SciTools/cartopy/issues/796","id":247874323,"user":{"login":"alaniwi","id":5577313,"avatar_url":"https://avatars.githubusercontent.com/u/5577313?v=3","gravatar_id":"","url":"https://api.github.com/users/alaniwi","html_url":"https://github.com/alaniwi","followers_url":"https://api.github.com/users/alaniwi/followers","following_url":"https://api.github.com/users/alaniwi/following{/other_user}","gists_url":"https://api.github.com/users/alaniwi/gists{/gist_id}","starred_url":"https://api.github.com/users/alaniwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alaniwi/subscriptions","organizations_url":"https://api.github.com/users/alaniwi/orgs","repos_url":"https://api.github.com/users/alaniwi/repos","events_url":"https://api.github.com/users/alaniwi/events{/privacy}","received_events_url":"https://api.github.com/users/alaniwi/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T20:19:11Z","updated_at":"2016-09-18T20:19:11Z","body":"To my surprise, it turns out that proj 4.9.0 uses `libproj.so.0`. I had guessed (intuitively but wrongly) that the major version number of libproj.so would have changed between 4.8.x and 4.9.x rather than between minor release numbers of the 4.9.x. So I should be okay building the latest cartopy against proj 4.9.0.\r\n\r\nHowever, it is an issue to bear in mind for future updates of cartopy, that requiring versions of proj that use later libproj.so version numbers could create barriers to packaging on RHEL6.  And according to http://www.zdnet.com/article/red-hat-extends-red-hat-enterprise-linux-lifecycle-to-ten-years/, RHEL6 should be around for some time yet."}}
{"actor":{"display_login":"alaniwi"}}