Opened 4 years ago
Last modified 3 years ago
#61910 new enhancement
Add libpq to postgresql_select?
Reported by: | ioquatix (Samuel Williams) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jyrkiwahlstedt, cooljeanius (Eric Gallager) | |
Port: | postgresql_select postgresql13 |
Description
When using postgresql_select:
sudo port select --set postgresql postgresql13
But this does not install libpq.dylib
into /opt/local/lib
which I think would make sense.
Change History (3)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Cc: | jyrkiwahlstedt added |
---|---|
Port: | postgresql13 added |
comment:2 Changed 4 years ago by ioquatix (Samuel Williams)
comment:3 Changed 3 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
I just want to add, that one other alternative that does work is to us
pg_config --libdir
but it's a little bit cumbersome since it requires existing software to be changed.So, there are two options:
1/ Symlink libpq (and maybe others) into
/opt/local/lib
.2/ Client applications should use
pg_config --libdir
to find current search path for libraries.