{"action":"created","issue":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/267","repository_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi","labels_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/267/comments","events_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/267/events","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/267","id":299938621,"number":267,"title":"Cannot load modules/mod_wsgi.so into server: libpython2.7.so.1.0: cannot open shared object file: No such file or directory","user":{"login":"nik6018","id":16150710,"avatar_url":"https://avatars2.githubusercontent.com/u/16150710?v=4","gravatar_id":"","url":"https://api.github.com/users/nik6018","html_url":"https://github.com/nik6018","followers_url":"https://api.github.com/users/nik6018/followers","following_url":"https://api.github.com/users/nik6018/following{/other_user}","gists_url":"https://api.github.com/users/nik6018/gists{/gist_id}","starred_url":"https://api.github.com/users/nik6018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nik6018/subscriptions","organizations_url":"https://api.github.com/users/nik6018/orgs","repos_url":"https://api.github.com/users/nik6018/repos","events_url":"https://api.github.com/users/nik6018/events{/privacy}","received_events_url":"https://api.github.com/users/nik6018/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-24T12:47:16Z","updated_at":"2018-03-26T00:08:09Z","closed_at":"2018-03-26T00:08:09Z","author_association":"NONE","body":"Hi,\r\n\r\nI feel really dumb opening an issue for this topic as this has been covered on multiple other issue and websites.\r\n\r\nBut all the solutions mentioned didn't work for me.\r\n\r\nI have compiled my Python at the following directory: `/usr/local/apps/python2/`\r\n\r\nSo **libpython2.7.so.1.0** is present in the following directory\r\n\r\n```\r\nls /usr/local/apps/python2/lib/\r\nlibpython2.7.so  libpython2.7.so.1.0  pkgconfig  python2.7\r\n```\r\n\r\nSo I used the following commands while compiling Mod_wsgi\r\n\r\n```\r\n./configure --prefix=/usr/local/apps/apache2/modules \\\r\n--with-apxs=/usr/local/apps/apache2/bin/apxs \\\r\n--with-python=/usr/local/apps/python2/bin/python\r\n\r\nLD_RUN_PATH=/usr/local/apps/python2/lib/ make\r\n\r\nmake install\r\n```\r\n\r\nbut still while restarting Apache I face the following error:\r\n\r\n> httpd: Syntax error on line 690 of /usr/local/apps/apache2/etc/httpd.conf: Syntax error on line 2 of /usr/local/apps/apache2/etc/conf.d/wsgi.conf: Cannot load modules/mod_wsgi.so into server: libpython2.7.so.1.0: cannot open shared object file: No such file or directory\r\n\r\nCan you please point me in the right direction on how should I fix this issue.\r\n"},"comment":{"url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/comments/376014953","html_url":"https://github.com/GrahamDumpleton/mod_wsgi/issues/267#issuecomment-376014953","issue_url":"https://api.github.com/repos/GrahamDumpleton/mod_wsgi/issues/267","id":376014953,"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":"2018-03-26T00:08:09Z","updated_at":"2018-03-26T00:08:09Z","author_association":"OWNER","body":"Closing as workaround with ``LoadFile`` worked and no further followup around why proper way of doing this didn't work as expected."}}
{"actor":{"display_login":"GrahamDumpleton"}}