Re: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink
От | Chris Meisinger |
---|---|
Тема | Re: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink |
Дата | |
Msg-id | 289CB02F-4B7A-48EC-B3C8-52BE555C5BA9@centro.net обсуждение исходный текст |
Ответ на | Re: BUG #7857: postgresql91-libs fails to create ld.so.conf.d symlink (Devrim GÜNDÜZ <devrim@gunduz.org>) |
Список | pgsql-bugs |
Devrim,=20 Thanks for the super fast fix! Chris On Feb 8, 2013, at 5:56 PM, Devrim G=C3=9CND=C3=9CZ <devrim@gunduz.org> = wrote: >=20 > Hi, >=20 > Thanks again for the report. I committed changes. Packages will appear > in less than 4 hours. >=20 > Regards, Devrim >=20 > On Thu, 2013-02-07 at 20:22 +0000, chris.meisinger@centro.net wrote: >> The following bug has been logged on the website: >>=20 >> Bug reference: 7857 >> Logged by: Chris Meisinger >> Email address: chris.meisinger@centro.net >> PostgreSQL version: 9.1.8 >> Operating system: CentOS 6.3 >> Description: =20 >>=20 >> 1. Provision a fresh machine (CentOS 6) >> 2. Perform a yum update of the core OS. >> 3. Install PGDG Rpm via 'curl -O >> = http://yum.postgresql.org/9.1/redhat/rhel-6-i386/pgdg-centos91-9.1-4.noarc= h.rpm' >> following the directions >> 4. 'yum -y install postgresql91 postgresql91-libs postgresql91-devel' >> 5. Note that running 'psql' via CLI generates the following error = 'psql: >> error while loading shared libraries: libpq.so.5: cannot open shared = object >> file: No such file or directory' >> 6. Note that the appropriate symlinks are not being created in >> /etc/ld.so.conf.d/ as in the past for inclusion of /usr/pgsql-9.1/ = into the >> default search path for libraries. >>=20 >> Older Cent 5 installations have the symlinking as follows... >>=20 >> in /etc/alternatives.... >> lrwxrwxrwx 1 root root 45 Jan 8 15:29 pgsql-ld-conf -> >> /usr/pgsql-9.1/share/postgresql-9.1-libs.conf >> with /etc/ld.so.conf.d/postgresql-pgdg-libs.conf being a symlink to >> /etc/alternatives/pgsql-ld-conf >>=20 >> Creating the symlink manually and running 'ldconfig' will correct the >> issue. >>=20 >> Only affects new/fresh installations. >>=20 >>=20 >>=20 >=20 >=20 > --=20 > Devrim G=C3=9CND=C3=9CZ > Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com > PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified = Engineer > Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr > http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
В списке pgsql-bugs по дате отправления: