{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/657","labels_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/657/comments","events_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/657/events","html_url":"https://github.com/Homebrew/linuxbrew/issues/657","id":117947568,"number":657,"title":"Ubuntu 10.04 openssl installation fails","user":{"login":"ahundt","id":55744,"avatar_url":"https://avatars.githubusercontent.com/u/55744?v=3","gravatar_id":"","url":"https://api.github.com/users/ahundt","html_url":"https://github.com/ahundt","followers_url":"https://api.github.com/users/ahundt/followers","following_url":"https://api.github.com/users/ahundt/following{/other_user}","gists_url":"https://api.github.com/users/ahundt/gists{/gist_id}","starred_url":"https://api.github.com/users/ahundt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahundt/subscriptions","organizations_url":"https://api.github.com/users/ahundt/orgs","repos_url":"https://api.github.com/users/ahundt/repos","events_url":"https://api.github.com/users/ahundt/events{/privacy}","received_events_url":"https://api.github.com/users/ahundt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T01:36:44Z","updated_at":"2015-11-20T01:36:44Z","closed_at":null,"body":"Setting up linuxbrew as follows leads to the installation of openssl failing:\r\n\r\n```\r\n# /bin/bash\r\nset -e\r\nset -u\r\nset -x\r\n\r\ncd $HOME\r\n\r\n# TODO: The next ln -s line breaks cross compiling with multiarch, need an alternative!\r\n#       source: http://stackoverflow.com/a/9004026/99379\r\nif [! -d \"/usr/lib64\" ]; then\r\n  # Control will enter here if $DIRECTORY exists.\r\n  sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64 \r\nfi\r\nsudo apt-get update -y\r\nsudo apt-get update --fix-missing -y\r\nsudo apt-get install build-essential curl g++ gfortran python-setuptools python-dev git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev gawk make patch tcl -y\r\n\r\nexport PKG_CONFIG_PATH=\"/usr/bin/pkg-config:$HOME/.linuxbrew/bin/pkg-config\"\r\nexport PKG_CONFIG_LIBDIR=\"/usr/lib/pkgconfig:$HOME/.linuxbrew/lib/pkgconfig\"\r\nexport PATH=\"$HOME/.linuxbrew/bin:$PATH\"\r\n#export MANPATH=\"$HOME/.linuxbrew/share/man:$MANPATH\"\r\n#export INFOPATH=\"$HOME/.linuxbrew/share/info:$INFOPATH\"\r\n\r\nif [ ! -d \"$HOME/.linuxbrew\" ]; then\r\n  yes | ruby -e \"$(curl -fsSL https://raw.github.com/Homebrew/linuxbrew/go/install)\"\r\n  # hang on here. you will have to press return\r\n  # note that even if brew doctor is a little unhappy we want to keep going\r\n  brew doctor || true\r\n\r\n  mkdir $HOME/.linuxbrew/lib\r\n  ln -s lib $HOME/.linuxbrew/lib64\r\n  ln -s $HOME/.linuxbrew/lib $HOME/.linuxbrew/lib64\r\n  ln -s /usr/lib64/libstdc++.so.6 /lib64/libgcc_s.so.1 $HOME/.linuxbrew/lib/\r\n  brew install hello && brew test hello; brew remove hello\r\nfi\r\n\r\nbrew install pkg-config\r\nbrew install openssl\r\n\r\n# Add the following variables to your .bashrc or .zshrc to complete the setup:\r\n#\r\n# export PKG_CONFIG_PATH=\"/usr/bin/pkg-config:$HOME/.linuxbrew/bin/pkg-config\"\r\n# export PKG_CONFIG_LIBDIR=\"/usr/lib/pkgconfig:$HOME/.linuxbrew/lib/pkgconfig\"\r\n# export PATH=\"$HOME/.linuxbrew/bin:$PATH\"                                    \r\n# export MANPATH=\"$HOME/.linuxbrew/share/man:$MANPATH\"                        \r\n# export INFOPATH=\"$HOME/.linuxbrew/share/info:$INFOPATH\"       \r\n```"}}