| Summary: | app-admin/eselect-postgresql fails to set /usr/bin/pg_config symlink? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Yan-Fa Li <yanfali> |
| Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge.log grep | ||
|
Description
Yan-Fa Li
2012-09-03 01:58:37 UTC
You should have something like this already: /usr/bin/pg_config -> /usr/lib/postgresql-9.0/bin/pg_config unless somehow eselect-postgresql failed. eselect-postgresql creates a link for all executable files it finds in /usr/lib(64)?/postgresql-${SLOT}/bin.
It's also written to default to a slot unless you've set one, which results in /usr/bin/pg_config linking to the proper slot.
Just run:
eselect postgresql set 9.1
That should fix the problem. As to why this was a problem in the first place, I don't know. Several times over I've started with a fresh system and it has always set something for me.
If you have something to show why it failed, please share.
Created attachment 322862 [details]
emerge.log grep
I can't find any evidence as to why it was symlinked. When I run seshat ~ # eselect postgresql list Available PostgreSQL Slots 9.1 * server-9.1.5 base-9.1.5 It shows as being the correct version. I looked inside the emerge.log, and it shows a progression of upgrades as far back as 9.1.3. I did have to manually remove 9.0.5 which somehow remained on the system. I'm not too worried about what happened here, I just wanted to make sure someone at gentoo heard about it just in case there's a latent bug that may have been reported before. Thanks for the response. BTW, I only noticed this, because I was forced to re-install all my python dependencies in order to fix KDE printing. |