{"action":"created","issue":{"url":"https://api.github.com/repos/psycopg/psycopg2/issues/305","labels_url":"https://api.github.com/repos/psycopg/psycopg2/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/psycopg/psycopg2/issues/305/comments","events_url":"https://api.github.com/repos/psycopg/psycopg2/issues/305/events","html_url":"https://github.com/psycopg/psycopg2/issues/305","id":64603456,"number":305,"title":"Install error: relocation R_X86_64_PC32 against `lobjectType'","user":{"login":"enquea","id":4371899,"avatar_url":"https://avatars.githubusercontent.com/u/4371899?v=3","gravatar_id":"","url":"https://api.github.com/users/enquea","html_url":"https://github.com/enquea","followers_url":"https://api.github.com/users/enquea/followers","following_url":"https://api.github.com/users/enquea/following{/other_user}","gists_url":"https://api.github.com/users/enquea/gists{/gist_id}","starred_url":"https://api.github.com/users/enquea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enquea/subscriptions","organizations_url":"https://api.github.com/users/enquea/orgs","repos_url":"https://api.github.com/users/enquea/repos","events_url":"https://api.github.com/users/enquea/events{/privacy}","received_events_url":"https://api.github.com/users/enquea/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-26T18:37:05Z","updated_at":"2015-03-31T08:31:43Z","closed_at":"2015-03-30T22:01:18Z","body":"Trying to install on Redhat 5, get this error:\r\n\r\n/usr/bin/ld: build/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o: relocation R_X86_64_PC32 against `lobjectType' can not be used when making a shared object; recompile with -fPIC\r\n\r\n/usr/bin/ld: final link failed: Bad value\r\n\r\ncollect2: ld returned 1 exit status\r\n\r\nerror: command 'gcc' failed with exit status 1\r\n\r\n*forgot to mention, this is from pip install on RHEL5"},"comment":{"url":"https://api.github.com/repos/psycopg/psycopg2/issues/comments/87994333","html_url":"https://github.com/psycopg/psycopg2/issues/305#issuecomment-87994333","issue_url":"https://api.github.com/repos/psycopg/psycopg2/issues/305","id":87994333,"user":{"login":"dvarrazzo","id":199429,"avatar_url":"https://avatars.githubusercontent.com/u/199429?v=3","gravatar_id":"","url":"https://api.github.com/users/dvarrazzo","html_url":"https://github.com/dvarrazzo","followers_url":"https://api.github.com/users/dvarrazzo/followers","following_url":"https://api.github.com/users/dvarrazzo/following{/other_user}","gists_url":"https://api.github.com/users/dvarrazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/dvarrazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvarrazzo/subscriptions","organizations_url":"https://api.github.com/users/dvarrazzo/orgs","repos_url":"https://api.github.com/users/dvarrazzo/repos","events_url":"https://api.github.com/users/dvarrazzo/events{/privacy}","received_events_url":"https://api.github.com/users/dvarrazzo/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T08:31:43Z","updated_at":"2015-03-31T08:31:43Z","body":"I see: libpq 8.1 is way out of date and unsupported. While I still check against PG 8.1 server I only compile and test the module with more up-to-date client libraries."}}