{"action":"created","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/4583","repository_url":"https://api.github.com/repos/openssl/openssl","labels_url":"https://api.github.com/repos/openssl/openssl/issues/4583/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/4583/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/4583/events","html_url":"https://github.com/openssl/openssl/issues/4583","id":268407842,"number":4583,"title":"Library installing to /usr/local/usr/local//usr/local/lib on OS X","user":{"login":"noloader","id":3538226,"avatar_url":"https://avatars0.githubusercontent.com/u/3538226?v=4","gravatar_id":"","url":"https://api.github.com/users/noloader","html_url":"https://github.com/noloader","followers_url":"https://api.github.com/users/noloader/followers","following_url":"https://api.github.com/users/noloader/following{/other_user}","gists_url":"https://api.github.com/users/noloader/gists{/gist_id}","starred_url":"https://api.github.com/users/noloader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noloader/subscriptions","organizations_url":"https://api.github.com/users/noloader/orgs","repos_url":"https://api.github.com/users/noloader/repos","events_url":"https://api.github.com/users/noloader/events{/privacy}","received_events_url":"https://api.github.com/users/noloader/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-25T13:56:26Z","updated_at":"2017-10-25T15:31:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nwget --no-check-certificate https://www.openssl.org/source/openssl-1.0.2l.tar.gz -O openssl-1.0.2l.tar.gz\r\n\r\ntar -xzf openssl-1.0.2l.tar.gz\r\ncd openssl-1.0.2l\r\n\r\nKERNEL_BITS=64 ./config no-ssl2 no-ssl3 no-comp shared -DNDEBUG \\\r\n    --prefix=/usr/local --openssldir=/usr/local --libdir=/usr/local/lib\r\n\r\nmake depend\r\n...\r\nmake -j 9\r\n...\r\nsudo make install_sw\r\n...\r\n\r\ncp libcrypto.pc /usr/local//usr/local/lib/pkgconfig\r\nchmod 644 /usr/local//usr/local/lib/pkgconfig/libcrypto.pc\r\ncp libssl.pc /usr/local//usr/local/lib/pkgconfig\r\nchmod 644 /usr/local//usr/local/lib/pkgconfig/libssl.pc\r\ncp openssl.pc /usr/local//usr/local/lib/pkgconfig\r\nchmod 644 /usr/local//usr/local/lib/pkgconfig/openssl.pc\r\n```\r\n\r\nOpenSSL was provided with the absolute paths for everything, and it still managed to screw up the installation. Combinations of `--prefix=/usr/local --libdir=/usr/local/lib`, `--prefix=/usr/local --libdir=/usr/local/lib`, `--prefix=/usr/local --openssldir=/usr/local --libdir=lib` and `--prefix=/usr/local --libdir=lib` did not resolve the issue.\r\n\r\nAfter `./config` is run, OpenSSL should display the screwed up paths to the user so they can fix the broken shit. Or better, maybe OpenSSL can act like every other configuration on the planet and stop doing dumb shit.\r\n\r\nHere are the variables the rest of the world uses: [GNU Coding Standard | 7.2.5 Variables for Installation Directories](https://www.gnu.org/prep/standards/html_node/Directory-Variables.html). Though its GNU, other companies like IBM and Sun use them, too."},"comment":{"url":"https://api.github.com/repos/openssl/openssl/issues/comments/339370335","html_url":"https://github.com/openssl/openssl/issues/4583#issuecomment-339370335","issue_url":"https://api.github.com/repos/openssl/openssl/issues/4583","id":339370335,"user":{"login":"levitte","id":698918,"avatar_url":"https://avatars1.githubusercontent.com/u/698918?v=4","gravatar_id":"","url":"https://api.github.com/users/levitte","html_url":"https://github.com/levitte","followers_url":"https://api.github.com/users/levitte/followers","following_url":"https://api.github.com/users/levitte/following{/other_user}","gists_url":"https://api.github.com/users/levitte/gists{/gist_id}","starred_url":"https://api.github.com/users/levitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levitte/subscriptions","organizations_url":"https://api.github.com/users/levitte/orgs","repos_url":"https://api.github.com/users/levitte/repos","events_url":"https://api.github.com/users/levitte/events{/privacy}","received_events_url":"https://api.github.com/users/levitte/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T15:31:59Z","updated_at":"2017-10-25T15:31:59Z","author_association":"OWNER","body":"@noloader, can I ask you to try `--prefix=/usr/local --openssldir=/usr/local --libdir=lib` again?  I just tried myself, and it installed exactly as expected, i.e. libs ended up in `/usr/local/lib`.\r\n\r\nNote that `--libdir` isn't documented in 1.0.2 (it is in 1.1.0 and works exactly the same as in 1.0.2), and you should probably only touch it under special circumstances.  Furthermore, it should only contain a subdirectory name, not a full path (which I agree is counter intuitive)."}}
{"actor":{"display_login":"levitte"}}