{"action":"created","issue":{"url":"https://api.github.com/repos/dimitri/prefix/issues/12","labels_url":"https://api.github.com/repos/dimitri/prefix/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/dimitri/prefix/issues/12/comments","events_url":"https://api.github.com/repos/dimitri/prefix/issues/12/events","html_url":"https://github.com/dimitri/prefix/issues/12","id":83256663,"number":12,"title":"errors trying to install into posrtgresql 9.4.0 ","user":{"login":"jhuijsing","id":12688833,"avatar_url":"https://avatars.githubusercontent.com/u/12688833?v=3","gravatar_id":"","url":"https://api.github.com/users/jhuijsing","html_url":"https://github.com/jhuijsing","followers_url":"https://api.github.com/users/jhuijsing/followers","following_url":"https://api.github.com/users/jhuijsing/following{/other_user}","gists_url":"https://api.github.com/users/jhuijsing/gists{/gist_id}","starred_url":"https://api.github.com/users/jhuijsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhuijsing/subscriptions","organizations_url":"https://api.github.com/users/jhuijsing/orgs","repos_url":"https://api.github.com/users/jhuijsing/repos","events_url":"https://api.github.com/users/jhuijsing/events{/privacy}","received_events_url":"https://api.github.com/users/jhuijsing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-01T01:32:34Z","updated_at":"2015-06-01T08:29:56Z","closed_at":null,"body":"downloaded an compiled ok\r\n\r\nthe make install \r\n/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./prefix--1.2.0.sql '/usr/share/pgsql/contrib'\r\n/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./prefix--unpackaged--1.2.0.sql '/usr/share/pgsql/contrib'\r\n/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./prefix--1.1--1.2.0.sql '/usr/share/pgsql/contrib'\r\n /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 755  prefix.so '/usr/lib64/pgsql'\r\n/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./README.md '/usr/share/doc/pgsql/contrib'\r\n/bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./TESTS.md '/usr/share/doc/pgsql/contrib\r\nputs the file in  /usr/share/pgsql/contrib'\r\n\r\nthen tried\r\npsql <connection string> -c 'CREATE EXTENSION prefix;'\r\nthis failed \r\n\r\nA bit of googlng  later i put the file in  /usr/local/pgsql/share/extension\r\nnow it fails with \r\nERROR:  could not access file \"$libdir/prefix\": No such file or directory\r\n\r\n\r\nANy hints to what is going wrong\r\n# pg_config --pkglibdir\r\n/usr/lib64/pgsql\r\n"},"comment":{"url":"https://api.github.com/repos/dimitri/prefix/issues/comments/107361396","html_url":"https://github.com/dimitri/prefix/issues/12#issuecomment-107361396","issue_url":"https://api.github.com/repos/dimitri/prefix/issues/12","id":107361396,"user":{"login":"ChristophBerg","id":1021828,"avatar_url":"https://avatars.githubusercontent.com/u/1021828?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristophBerg","html_url":"https://github.com/ChristophBerg","followers_url":"https://api.github.com/users/ChristophBerg/followers","following_url":"https://api.github.com/users/ChristophBerg/following{/other_user}","gists_url":"https://api.github.com/users/ChristophBerg/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristophBerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristophBerg/subscriptions","organizations_url":"https://api.github.com/users/ChristophBerg/orgs","repos_url":"https://api.github.com/users/ChristophBerg/repos","events_url":"https://api.github.com/users/ChristophBerg/events{/privacy}","received_events_url":"https://api.github.com/users/ChristophBerg/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T08:29:56Z","updated_at":"2015-06-01T08:29:56Z","body":"Re: jhuijsing 2015-06-01 <dimitri/prefix/issues/12@github.com>\n>  /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c -m 755  prefix.so '/usr/lib64/pgsql'\n> puts the file in  /usr/share/pgsql/contrib'\n> A bit of googlng  later i put the file in  /usr/local/pgsql/share/extension\n> now it fails with \n> ERROR:  could not access file \"$libdir/prefix\": No such file or directory\n> # pg_config --pkglibdir\n> /usr/lib64/pgsql\n\nPrefix .so is put into the directory reported by --pkglibdir.\n\nIt looks like your pg_config doesn't match your running PostgreSQL\nserver. Do you have several installations on disk?\n\nTry passing PG_CONFIG=/usr/local/pgsql/bin/pg_config to the make\ninvocations.\n\nChristoph\n-- \ncb@df7cb.de | http://www.df7cb.de/\n"}}