{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/solidity/issues/3732","repository_url":"https://api.github.com/repos/ethereum/solidity","labels_url":"https://api.github.com/repos/ethereum/solidity/issues/3732/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/solidity/issues/3732/comments","events_url":"https://api.github.com/repos/ethereum/solidity/issues/3732/events","html_url":"https://github.com/ethereum/solidity/issues/3732","id":305097002,"number":3732,"title":"Not able to install solc via snap on debian 9","user":{"login":"tappoz","id":5919778,"avatar_url":"https://avatars0.githubusercontent.com/u/5919778?v=4","gravatar_id":"","url":"https://api.github.com/users/tappoz","html_url":"https://github.com/tappoz","followers_url":"https://api.github.com/users/tappoz/followers","following_url":"https://api.github.com/users/tappoz/following{/other_user}","gists_url":"https://api.github.com/users/tappoz/gists{/gist_id}","starred_url":"https://api.github.com/users/tappoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tappoz/subscriptions","organizations_url":"https://api.github.com/users/tappoz/orgs","repos_url":"https://api.github.com/users/tappoz/repos","events_url":"https://api.github.com/users/tappoz/events{/privacy}","received_events_url":"https://api.github.com/users/tappoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T10:16:33Z","updated_at":"2018-03-14T11:28:34Z","closed_at":null,"author_association":"NONE","body":"# Steps to reproduce this\r\n\r\nInstall `snap` on debian: `$ sudo apt install snapd`\r\n\r\nThen install `solc`: \r\n```\r\n$ sudo snap install solc\r\nsolc v0.4.18 from 'elopio' installed\r\n```\r\n\r\nThen I can not recall `solc` from my command line, not even after a reboot.\r\n\r\n# Context information\r\n\r\n## Check the directory structure of `snap` / `solc`\r\n```\r\n$ ls -lah /snap/bin/\r\ntotal 8.0K\r\ndrwxr-xr-x 2 root root 4.0K Mar 14 10:05 .\r\ndrwxr-xr-x 5 root root 4.0K Mar 14 10:05 ..\r\nlrwxrwxrwx 1 root root   13 Mar 14 10:05 solc -> /usr/bin/snap\r\n```\r\n\r\n```\r\n$ ls -lah /snap/solc/current\r\nlrwxrwxrwx 1 root root 3 Mar 14 10:05 /snap/solc/current -> 460\r\n```\r\n\r\n```\r\n$ ls -lah /snap/solc/current/bin/\r\ntotal 23M\r\ndrwxr-xr-x 2 root root  27 Oct 18 17:23 .\r\ndrwxr-xr-x 6 root root  89 Oct 18 17:23 ..\r\n-rwxr-xr-x 1 root root 23M Oct 18 17:21 solc\r\n```\r\n\r\n## Try to run `solc`\r\n```\r\n$ /snap/solc/current/bin/solc \r\n/snap/solc/current/bin/solc: error while loading shared libraries: libz3.so.4: cannot open shared object file: No such file or directory\r\n```\r\n\r\n## Debian details\r\n\r\n```\r\n$ lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID:\tDebian\r\nDescription:\tDebian GNU/Linux 9.2 (stretch)\r\nRelease:\t9.2\r\nCodename:\tstretch\r\n$ cat /etc/debian_version \r\n9.2\r\n```\r\n\r\n## Details on the installation process\r\n\r\nI have followed this guide: https://solidity.readthedocs.io/en/latest/installing-solidity.html#binary-packages\r\nand this guide: https://docs.snapcraft.io/core/install-debian"},"comment":{"url":"https://api.github.com/repos/ethereum/solidity/issues/comments/372989463","html_url":"https://github.com/ethereum/solidity/issues/3732#issuecomment-372989463","issue_url":"https://api.github.com/repos/ethereum/solidity/issues/3732","id":372989463,"user":{"login":"chriseth","id":9073706,"avatar_url":"https://avatars2.githubusercontent.com/u/9073706?v=4","gravatar_id":"","url":"https://api.github.com/users/chriseth","html_url":"https://github.com/chriseth","followers_url":"https://api.github.com/users/chriseth/followers","following_url":"https://api.github.com/users/chriseth/following{/other_user}","gists_url":"https://api.github.com/users/chriseth/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseth/subscriptions","organizations_url":"https://api.github.com/users/chriseth/orgs","repos_url":"https://api.github.com/users/chriseth/repos","events_url":"https://api.github.com/users/chriseth/events{/privacy}","received_events_url":"https://api.github.com/users/chriseth/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T11:28:34Z","updated_at":"2018-03-14T11:28:34Z","author_association":"CONTRIBUTOR","body":"@elopio could you help here, please? You [added libz3-dev to snap](https://github.com/ethereum/solidity/pull/2790), but somehow it does not seem to be used - perhaps we also need a dependency on the runtime version of the library?"}}
{"actor":{"display_login":"chriseth"}}