{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/9681","labels_url":"https://api.github.com/repos/adobe/brackets/issues/9681/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/9681/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/9681/events","html_url":"https://github.com/adobe/brackets/issues/9681","id":46829429,"number":9681,"title":"32 bit deb package requires 64 bit libraries","user":{"login":"mdirik","id":1767147,"avatar_url":"https://avatars.githubusercontent.com/u/1767147?v=3","gravatar_id":"","url":"https://api.github.com/users/mdirik","html_url":"https://github.com/mdirik","followers_url":"https://api.github.com/users/mdirik/followers","following_url":"https://api.github.com/users/mdirik/following{/other_user}","gists_url":"https://api.github.com/users/mdirik/gists{/gist_id}","starred_url":"https://api.github.com/users/mdirik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdirik/subscriptions","organizations_url":"https://api.github.com/users/mdirik/orgs","repos_url":"https://api.github.com/users/mdirik/repos","events_url":"https://api.github.com/users/mdirik/events{/privacy}","received_events_url":"https://api.github.com/users/mdirik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adobe/brackets/labels/Linux%20only","name":"Linux only","color":"02d7e1"},{"url":"https://api.github.com/repos/adobe/brackets/labels/medium%20priority","name":"medium priority","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-26T01:47:06Z","updated_at":"2015-03-09T11:53:29Z","closed_at":null,"body":"This is on a i386 Debian jessie system:\r\n\r\n```\r\n# dpkg -i Brackets.Release.0.45.32-bit.deb \r\n(Reading database ... 350326 files and directories currently installed.)\r\nPreparing to unpack Brackets.Release.0.45.32-bit.deb ...\r\nUnpacking brackets (0.45.0-15087) over (0.45.0-15087) ...\r\nSetting up brackets (0.45.0-15087) ...\r\nlibnspr4.so.0d not found in /lib/x86_64-linux-gnu/libnspr4.so or /usr/lib/x86_64-linux-gnu/libnspr4.so.\r\ndpkg: error processing package brackets (--install):\r\n subprocess installed post-installation script returned error exit status 1\r\nProcessing triggers for menu (2.1.47) ...\r\nProcessing triggers for hicolor-icon-theme (0.13-1) ...\r\nErrors were encountered while processing:\r\n brackets\r\n```\r\nAfter I install `libnss3-1d:amd64`:\r\n\r\n```\r\n# dpkg -i Brackets.Release.0.45.32-bit.deb \r\n(Reading database ... 350336 files and directories currently installed.)\r\nPreparing to unpack Brackets.Release.0.45.32-bit.deb ...\r\nUnpacking brackets (0.45.0-15087) over (0.45.0-15087) ...\r\nSetting up brackets (0.45.0-15087) ...\r\nlibssl3.so.1d not found in /lib/x86_64-linux-gnu/libssl3.so or /usr/lib/x86_64-linux-gnu/libssl3.so.\r\ndpkg: error processing package brackets (--install):\r\n subprocess installed post-installation script returned error exit status 1\r\nProcessing triggers for menu (2.1.47) ...\r\nProcessing triggers for hicolor-icon-theme (0.13-1) ...\r\nErrors were encountered while processing:\r\n brackets\r\n```\r\nAfter that I also installed `libnspr4-0d:amd64` so brackets package installed OK, but it still couldn't start:\r\n\r\n```\r\n$ brackets\r\n/usr/bin/brackets: error while loading shared libraries: libudev.so.0: wrong ELF class: ELFCLASS64\r\n$ ldd /opt/brackets/Brackets | grep found\r\n        libudev.so.0 => not found\r\n```\r\nUnfortunately there is no `libudev0` in jessie but `libudev1`. Workaround is getting an older copy from [Debian Snapshot archive](http://snapshot.debian.org/package/udev/175-7.2/#libudev0_175-7.2). \r\n\r\nIn conclusion:\r\n1. 32 bit deb package installation fails when 64 bit libraries are missing\r\n2. deb package doesn't declare its real dependencies which causes it to be DOA\r\n3. IMO deb package should bundle libudev0 or should depend on a newer version since this library version is missing on Ubuntu 12.10+ and Debian jessie+.\r\n"},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/77840316","html_url":"https://github.com/adobe/brackets/issues/9681#issuecomment-77840316","issue_url":"https://api.github.com/repos/adobe/brackets/issues/9681","id":77840316,"user":{"login":"sakulstra","id":4396533,"avatar_url":"https://avatars.githubusercontent.com/u/4396533?v=3","gravatar_id":"","url":"https://api.github.com/users/sakulstra","html_url":"https://github.com/sakulstra","followers_url":"https://api.github.com/users/sakulstra/followers","following_url":"https://api.github.com/users/sakulstra/following{/other_user}","gists_url":"https://api.github.com/users/sakulstra/gists{/gist_id}","starred_url":"https://api.github.com/users/sakulstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakulstra/subscriptions","organizations_url":"https://api.github.com/users/sakulstra/orgs","repos_url":"https://api.github.com/users/sakulstra/repos","events_url":"https://api.github.com/users/sakulstra/events{/privacy}","received_events_url":"https://api.github.com/users/sakulstra/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T11:53:29Z","updated_at":"2015-03-09T11:53:29Z","body":"U can limply create a symbolic link with the old name referencing the new library like this \"sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0\" - this is the location for linux mint. On other systems u probably have to adjust the path..."}}