{"action":"created","issue":{"url":"https://api.github.com/repos/Mouse-Imaging-Centre/minc-stuffs/issues/7","labels_url":"https://api.github.com/repos/Mouse-Imaging-Centre/minc-stuffs/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Mouse-Imaging-Centre/minc-stuffs/issues/7/comments","events_url":"https://api.github.com/repos/Mouse-Imaging-Centre/minc-stuffs/issues/7/events","html_url":"https://github.com/Mouse-Imaging-Centre/minc-stuffs/issues/7","id":47646090,"number":7,"title":"make/configure fails on a static hdf5 library (version 1.8.11)","user":{"login":"mcvaneede","id":808403,"avatar_url":"https://avatars.githubusercontent.com/u/808403?v=3","gravatar_id":"","url":"https://api.github.com/users/mcvaneede","html_url":"https://github.com/mcvaneede","followers_url":"https://api.github.com/users/mcvaneede/followers","following_url":"https://api.github.com/users/mcvaneede/following{/other_user}","gists_url":"https://api.github.com/users/mcvaneede/gists{/gist_id}","starred_url":"https://api.github.com/users/mcvaneede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcvaneede/subscriptions","organizations_url":"https://api.github.com/users/mcvaneede/orgs","repos_url":"https://api.github.com/users/mcvaneede/repos","events_url":"https://api.github.com/users/mcvaneede/events{/privacy}","received_events_url":"https://api.github.com/users/mcvaneede/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-03T21:22:34Z","updated_at":"2015-06-19T14:30:56Z","closed_at":null,"body":"There is a manual fix at the moment:\r\n\r\nFrom: http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11875.html\r\n> In 1.8.11, hdf5 added the capability to use plugins which are dynamically\r\n> loaded.  If linking with shareable libraries, then the -ldl is already\r\n> present due to the mechanisms of shareable libraries; however, if using\r\n> static libraries, the -ldl needs to be added manually which is not\r\n> currently being done in configure.\r\n\r\nafter running ./autogen.sh and if you're linking against a static hdf5 library (1.8.11 or later)\r\nyou might have to add -ldl as a flag when linking. This can be done in the configure file\r\n"},"comment":{"url":"https://api.github.com/repos/Mouse-Imaging-Centre/minc-stuffs/issues/comments/113531874","html_url":"https://github.com/Mouse-Imaging-Centre/minc-stuffs/issues/7#issuecomment-113531874","issue_url":"https://api.github.com/repos/Mouse-Imaging-Centre/minc-stuffs/issues/7","id":113531874,"user":{"login":"psteadman","id":1148261,"avatar_url":"https://avatars.githubusercontent.com/u/1148261?v=3","gravatar_id":"","url":"https://api.github.com/users/psteadman","html_url":"https://github.com/psteadman","followers_url":"https://api.github.com/users/psteadman/followers","following_url":"https://api.github.com/users/psteadman/following{/other_user}","gists_url":"https://api.github.com/users/psteadman/gists{/gist_id}","starred_url":"https://api.github.com/users/psteadman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psteadman/subscriptions","organizations_url":"https://api.github.com/users/psteadman/orgs","repos_url":"https://api.github.com/users/psteadman/repos","events_url":"https://api.github.com/users/psteadman/events{/privacy}","received_events_url":"https://api.github.com/users/psteadman/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T14:30:56Z","updated_at":"2015-06-19T14:30:56Z","body":"Just to add to this (fyi I also needed to make this change for Mouse-Imaging-Centre/RMINC@9c0f9201dc1182b898a2edcf545fc5cd86ce0659) in configure file look for \r\nthe line:\r\n``` sh\r\nLIBS=\"-lhdf5 $LIBS\" \r\n```\r\nchange it to\r\n``` sh\r\nLIBS=\"-lhdf5 $LIBS -ldl\" \r\n```\r\nThis is what I needed to do"}}