{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/632","repository_url":"https://api.github.com/repos/Linuxbrew/homebrew-core","labels_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/632/comments","events_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/632/events","html_url":"https://github.com/Linuxbrew/homebrew-core/issues/632","id":167324129,"number":632,"title":"mongodb: mongod: error while loading shared libraries: libssl.so.1.0.0","user":{"login":"chubin","id":3875145,"avatar_url":"https://avatars.githubusercontent.com/u/3875145?v=3","gravatar_id":"","url":"https://api.github.com/users/chubin","html_url":"https://github.com/chubin","followers_url":"https://api.github.com/users/chubin/followers","following_url":"https://api.github.com/users/chubin/following{/other_user}","gists_url":"https://api.github.com/users/chubin/gists{/gist_id}","starred_url":"https://api.github.com/users/chubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chubin/subscriptions","organizations_url":"https://api.github.com/users/chubin/orgs","repos_url":"https://api.github.com/users/chubin/repos","events_url":"https://api.github.com/users/chubin/events{/privacy}","received_events_url":"https://api.github.com/users/chubin/received_events","type":"User","site_admin":false},"labels":[{"id":364823038,"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/labels/build-error","name":"build-error","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-25T09:30:46Z","updated_at":"2017-01-12T00:17:12Z","closed_at":null,"body":"After building mongo with brew:\n\n```\n$ brew install mongo\n...\n/home/igor/brew/opt/scons/bin/scons install --prefix=/home/igor/brew/Cellar/mongodb/3.2.6 -j48 CC=/usr/bin/gcc CXX=/usr/bin/g++ -std=c++11 --use-new-tools --disable-warnings-as-errors --ssl CCFLAGS=-I/home/igor/brew/opt/openssl/include LINKFLAGS=-L/home/igor/brew/opt/openssl/lib\n```\n\ncan't start it:\n\n```\n$ mongod\nmongod: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory\n```\n\nbecause some libraries are not found:\n\n```\n$ ldd `which mongod`\n        linux-vdso.so.1 (0x00007ffdbfd8b000)\n        libssl.so.1.0.0 => not found\n        libcrypto.so.1.0.0 => not found\n        librt.so.1 => /lib64/librt.so.1 (0x00007f120a1d2000)\n        libdl.so.2 => /lib64/libdl.so.2 (0x00007f1209fce000)\n        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f1209c4b000)\n        libm.so.6 => /lib64/libm.so.6 (0x00007f1209949000)\n        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f1209732000)\n        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1209513000)\n        libc.so.6 => /lib64/libc.so.6 (0x00007f1209152000)\n        /lib64/ld-linux-x86-64.so.2 (0x00005572869d9000)\n```\n\nBut it works, if I specify the library path with LD_LIBRARY_PATH:\n\n```\n$ LD_LIBRARY_PATH=/home/igor/brew/opt/openssl/lib mongod\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] MongoDB starting : pid=108255 port=27017 dbpath=/data/db 64-bit host=ws64-2\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] db version v3.2.6\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] git version: 05552b562c7a0b3143a729aaa0838e558dc49b25\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.2h  3 May 2016\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] allocator: tcmalloc\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] modules: none\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] build environment:\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten]     distarch: x86_64\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten]     target_arch: x86_64\n2016-07-25T09:22:19.629+0200 I CONTROL  [initandlisten] options: {}\n2016-07-25T09:22:19.677+0200 I STORAGE  [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating\n2016-07-25T09:22:19.677+0200 I CONTROL  [initandlisten] dbexit:  rc: 100\n```\n"},"comment":{"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/comments/272037794","html_url":"https://github.com/Linuxbrew/homebrew-core/issues/632#issuecomment-272037794","issue_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/632","id":272037794,"user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T00:17:12Z","updated_at":"2017-01-12T00:17:12Z","body":"Hopefully this issue will be resolved by #235"}}
{"actor":{"display_login":"sjackman"}}