{"action":"created","issue":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/252","repository_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi","labels_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/252/comments","events_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/252/events","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/252","id":282223565,"number":252,"title":"Insatll mod_wsgi on REDHAT 7","user":{"login":"anubhaw2091","id":3678135,"avatar_url":"https://avatars3.githubusercontent.com/u/3678135?v=4","gravatar_id":"","url":"https://api.github.com/users/anubhaw2091","html_url":"https://github.com/anubhaw2091","followers_url":"https://api.github.com/users/anubhaw2091/followers","following_url":"https://api.github.com/users/anubhaw2091/following{/other_user}","gists_url":"https://api.github.com/users/anubhaw2091/gists{/gist_id}","starred_url":"https://api.github.com/users/anubhaw2091/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anubhaw2091/subscriptions","organizations_url":"https://api.github.com/users/anubhaw2091/orgs","repos_url":"https://api.github.com/users/anubhaw2091/repos","events_url":"https://api.github.com/users/anubhaw2091/events{/privacy}","received_events_url":"https://api.github.com/users/anubhaw2091/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-12-14T20:07:46Z","updated_at":"2017-12-15T08:21:32Z","closed_at":null,"author_association":"NONE","body":"So I have been trying to install mod_wsgi on REDHAT7 from few days. Yet not succeed.\r\n\r\nFollowing this link [QUICK INSTALL](http://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html).\r\n\r\nSo I have managed to install the file using `make install`.\r\n\r\n`ldd /etc/httpd/modules/mod_wsgi.so` gives me the following.\r\n\r\n```\r\n[root@redhat mod_wsgi-4.5.22]# ldd /etc/httpd/modules/mod_wsgi.so\r\n\tlinux-vdso.so.1 =>  (0x00007ffd5ccb3000)\r\n\tlibpython3.6m.so.1.0 => /root/anaconda3/lib/libpython3.6m.so.1.0 (0x00007f89ff184000)\r\n\tlibpthread.so.0 => /lib64/libpthread.so.0 (0x00007f89fef60000)\r\n\tlibdl.so.2 => /lib64/libdl.so.2 (0x00007f89fed5c000)\r\n\tlibutil.so.1 => /lib64/libutil.so.1 (0x00007f89feb59000)\r\n\tlibrt.so.1 => /lib64/librt.so.1 (0x00007f89fe950000)\r\n\tlibm.so.6 => /lib64/libm.so.6 (0x00007f89fe64e000)\r\n\tlibc.so.6 => /lib64/libc.so.6 (0x00007f89fe28b000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00005585dde37000)\r\n```\r\n\r\nInorder to get this, I had to set env variable.\r\n\r\n```\r\n[root@redhat lib]# export LD_LIBRARY_PATH=/root/anaconda3/lib\r\n[root@redhat lib]# echo $LD_LIBRARY_PATH\r\n/root/anaconda3/lib\r\n```\r\nI also added the following line in httpd file\r\n `LoadModule wsgi_module /etc/httpd/modules/mod_wsgi.so`\r\n\r\nBut now when am trying to restart apache am getting error and when I run `journalctl -xe` I get the following.\r\n\r\n`httpd: Syntax error on line 57 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wsgi.so into server: libpython3.6m.so.1.0: cannot open sha....`\r\n\r\nMy ultimate motive is to install a flask application on redHat.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/comments/351942805","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/252#issuecomment-351942805","issue_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/252","id":351942805,"user":{"login":"GrahamDumpleton","id":507637,"avatar_url":"https://avatars2.githubusercontent.com/u/507637?v=4","gravatar_id":"","url":"https://api.github.com/users/GrahamDumpleton","html_url":"https://github.com/GrahamDumpleton","followers_url":"https://api.github.com/users/GrahamDumpleton/followers","following_url":"https://api.github.com/users/GrahamDumpleton/following{/other_user}","gists_url":"https://api.github.com/users/GrahamDumpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamDumpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamDumpleton/subscriptions","organizations_url":"https://api.github.com/users/GrahamDumpleton/orgs","repos_url":"https://api.github.com/users/GrahamDumpleton/repos","events_url":"https://api.github.com/users/GrahamDumpleton/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamDumpleton/received_events","type":"User","site_admin":false},"created_at":"2017-12-15T08:21:32Z","updated_at":"2017-12-15T08:21:32Z","author_association":"OWNER","body":"Because you moved where Anaconda was installed, you must make sure you do not use the cached build of mod_wsgi. Try:\r\n\r\n```\r\npip install --no-cache-dir mod_wsgi\r\n```"}}
{"actor":{"display_login":"GrahamDumpleton"}}