[postgis-users] WKT raster installation on mac

Shaun Langley shaunlangley at gmail.com
Wed Jul 7 09:08:30 PDT 2010


I'm still getting stuck with this installation.  I specified the libdir, but note that libpq is not in this directory.  The path for libpq is "/Library/PostgreSQL/8.4/include" which is distinct from the other code libraries in "/Library/PostgreSQL/8.4/lib"  I'm copying the directory contents so you can clearly see what's included in each.

configure: error: could not find libpq
user-d0c71a:wktraster-0.1.6d langleys$ cd ../include/
user-d0c71a:include langleys$ ls
ecpg_config.h		pg_config.h		pgtypes_numeric.h
ecpg_informix.h		pg_config_i386.h	pgtypes_timestamp.h
ecpgerrno.h		pg_config_manual.h	postgres_ext.h
ecpglib.h		pg_config_os.h		postgresql
ecpgtype.h		pg_config_ppc.h		sql3types.h
libpq			pgtypes_date.h		sqlca.h
libpq-events.h		pgtypes_error.h
libpq-fe.h		pgtypes_interval.h
user-d0c71a:include langleys$ 

user-d0c71a:include langleys$ cd ../lib
user-d0c71a:lib langleys$ ls
libecpg.6.1.dylib		libpq.dylib
libecpg.6.dylib			libproj.0.5.5.dylib
libecpg.a			libproj.0.dylib
libecpg.dylib			libproj.dylib
libecpg_compat.3.1.dylib	libuuid.16.dylib
libecpg_compat.3.dylib		libuuid.a
libecpg_compat.a		libuuid.dylib
libecpg_compat.dylib		libuuid.la
libgeos-3.2.0.dylib		libxml2.2.7.1.dylib
libgeos.dylib			libxml2.2.dylib
libgeos_c.1.6.0.dylib		libxml2.a
libgeos_c.1.dylib		libxml2.dylib
libgeos_c.dylib			libxml2.la
libpgport.a			libxslt.1.1.23.dylib
libpgtypes.3.1.dylib		libxslt.1.dylib
libpgtypes.3.dylib		libxslt.a
libpgtypes.a			libxslt.dylib
libpgtypes.dylib		libxslt.la
libpq.5.2.dylib			postgis-1.4.so
libpq.5.dylib			postgresql
libpq.a
user-d0c71a:lib langleys$ 

on the first line, you can clearly see that no matter which path I select for "libdir" the configure script cannot find "libpq".  Any ideas?

Regards,
Shaun


On Jul 6, 2010, at 5:51 AM, Jorge Arévalo wrote:

> On Mon, Jul 5, 2010 at 6:15 PM, Shaun Langley <shaunlangley at gmail.com> wrote:
>> it returns /Library/PostgreSQL/8.4/lib
>> 
>> what's the option syntax to add the lib directory during configuration?  can I specify something like
>> 
>> --with-libdir='/Library/PostgreSQL/8.4/lib'
>> 
> 
> The option should be --libdir='/Library/PostgreSQL/8.4/lib'. Give it a try
> 
> Best regards,
> Jorge
> 
> 
>> Cheers,
>> Shaun
>> On Jul 5, 2010, at 11:51 AM, Jorge Arévalo wrote:
>> 
>>> On Mon, Jul 5, 2010 at 5:19 PM, Shaun Langley <shaunlangley at gmail.com> wrote:
>>>> Yes it still complains it can't find libpq.
>>>> 
>>> 
>>> I didn't try it on mac, but in Windows, I had to add the lib directory to PATH.
>>> 
>>> What happens if you execute pg_config --libdir?
>>> 
>>>> --------------------------
>>>> Shaun Langley
>>>> Graduate Student
>>>> 208 Manly Miles
>>>> Michigan State University
>>>> East Lansing, MI 48824
>>>> (517) 974-9346
>>>> 
>>>> Sent from my iPad
>>>> 
>>>> 
>>>> On Jul 5, 2010, at 10:48 AM, Pierre Racine <Pierre.Racine at sbf.ulaval.ca> wrote:
>>>> 
>>>>> So now that you had it manually does it still complain that it can not find libpq?
>>>>> 
>>>>> Some systems need us to explicit some installation paths (like Windows) in the configure command.
>>>>> 
>>>>> Pierre
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
>>>>>> bounces at postgis.refractions.net] On Behalf Of Shaun Langley
>>>>>> Sent: 2 juillet 2010 19:14
>>>>>> To: postgis-users
>>>>>> Subject: [postgis-users] WKT raster installation on mac
>>>>>> 
>>>>>> I'm trying to install WKT Raster on Mac OS X, using the enterprisedb
>>>>>> installation of postgres, and postgis through the stackbuilder.  I've
>>>>>> run into a problem when running the ./configure for WKT Raster as it
>>>>>> returns an error saying that it cannot locate libpq.  The installation
>>>>>> of postgres is found at /Library/Postgres/8.4/ and libpq is located
>>>>>> within lib/.  I had to manully specify the location of pg_config which
>>>>>> I did successfully.  Any suggestions on how to proceed?
>>>>>> 
>>>>>> Regards,
>>>>>> Shaun
>>>>>> --------------------------
>>>>>> Shaun Langley
>>>>>> Graduate Student, PhD
>>>>>> Department of Geography
>>>>>> Michigan State University
>>>>>> Home: (517) 974-9346
>>>>>> _______________________________________________
>>>>>> postgis-users mailing list
>>>>>> postgis-users at postgis.refractions.net
>>>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>>> _______________________________________________
>>>>> postgis-users mailing list
>>>>> postgis-users at postgis.refractions.net
>>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>> _______________________________________________
>>>> postgis-users mailing list
>>>> postgis-users at postgis.refractions.net
>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Jorge Arévalo
>>> DEIMOS Space
>>> Internet & Mobilty Division
>>> Ronda de Poniente 19. Edificio Fiteni VI, portal 2, 2º
>>> 28760 Tres Cantos (Madrid)
>>> Tel: +34 91 806 34 50 - ext: 155
>>> jorge.arevalo at deimos-space.com
>>> http://gis4free.wordpress.com
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>> 
>> --------------------------
>> Shaun Langley
>> Graduate Student, PhD
>> Department of Geography
>> Michigan State University
>> Home: (517) 974-9346
>> 
>> 
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>> 
> 
> 
> 
> -- 
> Jorge Arévalo
> DEIMOS Space
> Internet & Mobilty Division
> Ronda de Poniente 19. Edificio Fiteni VI, portal 2, 2º
> 28760 Tres Cantos (Madrid)
> Tel: +34 91 806 34 50 - ext: 155
> jorge.arevalo at deimos-space.com
> http://gis4free.wordpress.com
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

--------------------------
Shaun Langley
Graduate Student, PhD
Department of Geography
Michigan State University
Home: (517) 974-9346





More information about the postgis-users mailing list