Installing Postgres9.0 and PostGIS on CentOS

So, I work with spatial (GIS) data quite often. Since quite often I have to rebuild databases I am going to write down the steps I take to install PostGIS + Postgresql. The first step on CentOS is to configure the repositories:

Use http://www.pgrpms.org/ for postgresql. As root, go to /etc/yum.repo.d/ and create a file called pgrpms9.repo and add the following lines:

add the line “enabled=0” after the failovermethod line so that it will look like
[pgdg90-source]
name=PostgreSQL 9.0 $releasever – $basearch – Source
failovermethod=priority
enabled=0
baseurl=http://yum.pgrpms.org/srpms/9.0/redhat/rhel-$releasever-$basearch
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

Did you make two entries of [pgdg90] and [pgdg90-source]. You should have only one entire of each. Your pgrpms9.repo file should have the following (each entry for repo — ie stuff below [] only once]
[pgdg90]
name=PostgreSQL 9.0 $releasever – $basearch
baseurl=http://yum.pgrpms.org/9.0/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

This is great stuff. Worked perfectly.
Do you have instructions for postgresql92 with Centos 6.3 x86_64?
I’ve tried both 9.2 and 9.2.2, the psql gives me error: undefined symbol: PQconnectdbParams or symbol lookup error:libldap_r-2.4.so.2.5.6