| From: | Christoph Berg <christoph(dot)berg(at)credativ(dot)de> |
|---|---|
| To: | PGDG RPM Packages <pgsql-pkg-yum(at)postgresql(dot)org> |
| Subject: | Bad permissions on postgresql-*-libs.conf |
| Date: | 2014-07-01 14:36:48 |
| Message-ID: | 20140701143648.GE15590@msg.df7cb.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-pkg-yum |
Hi,
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'
[...]
Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Devrim Gündüz | 2014-07-01 15:25:33 | Re: Bad permissions on postgresql-*-libs.conf |
| Previous Message | Rafael Martinez Guerrero | 2014-06-30 18:53:15 | Re: Add PgBackMan to the yum-repo |