Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359847 - dev-db/postgresql-base-9.0.3-r1 amd64 LDPATH set to lib, not lib64
Summary: dev-db/postgresql-base-9.0.3-r1 amd64 LDPATH set to lib, not lib64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 21:27 UTC by Михаил
Modified: 2011-03-21 22:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Михаил 2011-03-21 21:27:57 UTC
Upgrade dev-db/postgresql-base to 9.0.3-r1 broke all programm linked with libpq

Postfix, dovecot  unable to start. revdep-rebuild didn't find any problem.


After change LDPATH in /etc/env.d/50postgresql-94-9.0 libpq usable.

LDPATH changed from "/usr/lib64/postgresql-9.0/lib" to "/usr/lib64/postgresql-9.0/lib64".
Comment 1 Aaron W. Swenson gentoo-dev 2011-03-21 22:08:40 UTC
The relevant section in dev-db/postgresql-base-9.0.3-r1:
    cat >"${T}/50postgresql-94-${SLOT}" <<-__EOF__                              
LDPATH=${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/lib                      
MANPATH=${EROOT%/}/usr/share/postgresql-${SLOT}/man                             
__EOF__ 

So, the problem lies somewhere else.

Where does pg_config say libdir is?
Comment 2 SpanKY gentoo-dev 2011-03-21 22:11:37 UTC
emerge --sync and re-emerge postgresql.  issue was in the profile and is already fixed.