I just encountered the same problem on one OS X machine, although I had successfully built GRASS on another. The difference may be that on the machine that successfully compiled GRASS, I had previously installed Marc Liyanage's precompiled postgres; on the machine that failed (as described below), I had only the fink install of postgres.
Looking at their libs, I find that Liyanage's postgres included in /usr/local/pgsql/libs a libpq++ that is not in the fink install. On Wednesday, April 3, 2002, at 03:22 AM, Kaspar Pflugshaupt wrote: > On 1.4.2002 14:33 Uhr, Kevin Horton wrote: > >> I'm trying to install grass from unstable, and I've run out of ideas. >> >> The install attempts end with: >> >> "checking for postgres.h... yes >> checking for location of PostgreSQL library... /sw/lib >> checking for PQsetdbLogin in -lpq... no >> checking for PQsetdbLogin in -lpq... no >> configure: error: *** Unable to locate PostgreSQL library. >> ### failed, exit code 1 >> Failed: compiling grass-5.0.0pre3-1 failed" >> >> I noted at the end of the postgresql 7.1.3-4 install that there were >> instructions on how to start the postgresql database server, so I did >> that after the first failed install grass attempt. Install grass >> failed in exactly the same way again. > > Same thing happens here. BTW, the PostgreSQL Lib is not missing (it's at > /sw/lib/libpq), but the function PQsetdblogin inside it is not found. > > Is there some wizardry with libtool or similar tools that will get this > working (sorry, I've no experience here...) ? > > Cheers > > Kaspar Pflugshaupt > > > > -- > > Kaspar Pflugshaupt > Geobotanisches Institut > Zuerichbergstr. 38 > CH-8044 Zuerich > > Tel. ++41 1 632 43 19 > Fax ++41 1 632 12 15 > > mailto:[EMAIL PROTECTED] > privat:[EMAIL PROTECTED] > http://www.geobot.umnw.ethz.ch > > > _______________________________________________ > Fink-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/fink-users _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
