Re: Bad permissions on postgresql-*-libs.conf - Mailing list pgsql-pkg-yum

From Devrim Gündüz
Subject Re: Bad permissions on postgresql-*-libs.conf
Date
Msg-id 1404228333.2518.4.camel@asus-laptop-03.gunduz.org
Whole thread Raw
In response to Bad permissions on postgresql-*-libs.conf  (Christoph Berg <christoph.berg@credativ.de>)
List pgsql-pkg-yum
Hi Christoph,

On Tue, 2014-07-01 at 16:36 +0200, Christoph Berg wrote:

> these files should be world readable (644), or else the linker won't
> find dependencies of some libraries:
>
> -rwx------. 1 root root 20 18. Mär 04:44 /usr/pgsql-9.1/share/postgresql-9.1-libs.conf
> -rwx------. 1 root root 20 18. Mär 10:42 /usr/pgsql-9.2/share/postgresql-9.2-libs.conf
> -rwx------. 1 root root 20 15. Mai 14:23 /usr/pgsql-9.4/share/postgresql-9.4-libs.conf
>
> # su -s/bin/bash -c 'cc -I/usr/pgsql-9.4/include -L/usr/pgsql-9.4/lib -o test test.c -lecpg' nobody
> /usr/bin/ld: warning: libpgtypes.so.3, needed by /usr/pgsql-9.4/lib/libecpg.so, not found (try using -rpath or
-rpath-link)
> /usr/bin/ld: warning: libpq.so.5, needed by /usr/pgsql-9.4/lib/libecpg.so, not found (try using -rpath or
-rpath-link)
> /usr/pgsql-9.4/lib/libecpg.so: undefined reference to `PQcmdStatus'
> /usr/pgsql-9.4/lib/libecpg.so: undefined reference to `PGTYPEStimestamp_from_asc'


Thanks for finding the long standing bug. Appreciated. Just committed
the changes to spec file. Changes will appear in next minor releases.

(Jeff, I did not bump up minor version numbers this time (laziness).
Just updated the changelog item.)

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment

pgsql-pkg-yum by date:

Previous
From: Christoph Berg
Date:
Subject: Bad permissions on postgresql-*-libs.conf
Next
From: Devrim Gündüz
Date:
Subject: Re: Add PgBackMan to the yum-repo