Leo & Regina: You were right - I was having library link issues. I'd previously followed your tutorial (linked below) but was mis-reading the "ldd" outputs. Thank you.
-- Tom On Sat, Oct 2, 2010 at 9:08 AM, Paragon Corporation <[email protected]> wrote: > Tom, > > Its unclear from your note if this is your problem, but from experience, > the > most common problem people run into when compiling PostGIS on Cent OS/Red > Hat EL is the binding between the geos library linking and postgis-1.5.so > . > > We documented a workaround here - > > http://www.postgresonline.com/journal/archives/147-Compiling-PostGIS-1.5-and > -installing-after-Yum-PostgreSQL-Install.html<http://www.postgresonline.com/journal/archives/147-Compiling-PostGIS-1.5-and%0A-installing-after-Yum-PostgreSQL-Install.html> > -- way down in the problems section > > Basically you want to check to make sure the links are right by running > ldd -d /usr/lib64/pgsql/postgis-1.5.so > ldd -d /usr/lib64/pgsql/postgis-1.5.so | grep libgeos > ldd -d /usr/lib64/pgsql/postgis-1.5.so | grep libproj > > And then correct them. We just change the symlinks to point to the right > place -- which we have documented in the above article. > > I think Mark Cave-Ayland or Sandro Santilli had a more elegant way of > fixing > this issue, but can't find that item. > If they are around, maybe they can chime in on this. > > We should probably note this in the installation and FAQ some where since > it seems several people have been bitten by this. > > As a side note --with-pgsql is obsolete -- you should be using -- > --with-pgconfig=FILE (where FILE is path to your postgresql config) > > Leo and Regina > http://www.postgis.us > > > > ________________________________ > > From: [email protected] > [mailto:[email protected]] On Behalf Of Tom > Liebert > Sent: Friday, October 01, 2010 1:02 PM > To: postgis-users > Subject: [postgis-users] Trouble Installing PostGIS 1.5.2 on Enterprise > Linux > > > I've got some experience installing PostGIS on Postgres 8.4 running on > Ubuntu Linux, but am running into issues on CentOS 5.5. I've got all > dependencies installed: Geos-3.2.2, Proj-4.7.0, GDAL/OGR 1.7.2 (!), > libxml2-2.7.6 and everything seems to go well during my configure: > //---------------- > > ./configure --with-pgconfig=/usr/bin/pg_config \ > --with-xml2config=/usr/local/src/libxml2-2.7.6/xml2-config \ > --with-proj \ > --with-geosconfig=/usr/local/bin/geos-config \ > > --with-pgsql > //---------------- > The make results: > //---------------- > PostGIS was built successfully. Ready to install. > //---------------- > But make install isn't as neat: > //---------------- > /bin/sh /usr/lib64/pgsql/pgxs/src/makefiles/../../config/install-sh -c > shp2pgsql /usr/bin > make[1]: Leaving directory `/usr/local/src/postgis-1.5.2/loader' > //---------------- > And, my resulting attempts to create a PostGIS database do not succeed. > Here's my commands: > > #login as postgres > sudo su postgres > #create database stuff > createdb example_db > createlang plpgsql example_db > psql -d example_db -f /usr/share/pgsql/contrib/postgis-1.5/postgis.sql > > psql -d example_db -f > /usr/share/pgsql/contrib/postgis-1.5/spatial_ref_sys.sql > #logout of postgres user > exit > > Anyone have advice on what to look for in a successful install? > > > > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users >
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
