Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql cannot find plugins #16032

Closed
Ralith opened this issue Jun 7, 2016 · 3 comments
Closed

postgresql cannot find plugins #16032

Ralith opened this issue Jun 7, 2016 · 3 comments
Milestone

Comments

@Ralith
Copy link
Contributor

Ralith commented Jun 7, 2016

On latest unstable as of this posting (nixos-16.09pre84674.fbde3a7) postgresql seems to have $libdir set incorrectly, making it impossible to load plugins such as PostGIS.

root=# CREATE EXTENSION postgis;
ERROR:  could not access file "$libdir/postgis-2.2": No such file or directory
> pg_config --libdir
/nix/store/w619ay8m1h84ym3kpqhl7mwfar6py2vc-postgresql-9.4.6-lib/lib

Compare 16.03:

> pg_config --libdir
/run/current-system/sw/lib
@joachifm
Copy link
Contributor

joachifm commented Jun 7, 2016

Related: #15512

lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 11, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 11, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 12, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 12, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 19, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 20, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 21, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 22, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 22, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 22, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 24, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Jul 28, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lbodor added a commit to GeoscienceAustralia/NixOS-Machines that referenced this issue Aug 2, 2016
Postgis is broken on nixos-unstable
(NixOS/nixpkgs#16032).
lsix added a commit to lsix/nixpkgs that referenced this issue Sep 2, 2016
Fixes NixOS#15512 and NixOS#16032

With the multi output, postgresql cannot find at runtime what is its
basedir when looking for libdir and pkglibdir. This commit fixes that.
@danbst
Copy link
Contributor

danbst commented Sep 5, 2016

should this be marked as fixed?

@fpletz fpletz added this to the 16.09 milestone Sep 6, 2016
@fpletz
Copy link
Member

fpletz commented Sep 6, 2016

Fixed in #17838.

@fpletz fpletz closed this as completed Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants