X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=Ne7bpfOAzuMpd8JB/OVJOQc1/XZhozw0GKwY6awQBmu
	5rHl8xX2qrtMxh8+a7Herv9hYcuZ0Rsqa06d0SMtUNx/i7kuLW1Gc22goz3uxI5s
	XZI6SogA6cXRClEbgWiEE2Ce7SI83C8OchUNeRQOwygc4z19Iw+Z+qFH+x47PcCA
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=xt2vDy7PpAykIV69vwE0Ab5YtsE=; b=PwtxqorCeDfx1Jb/d
	CkeBUuVYgy3RPTi3J4H5wnuUAxxTME+wvl2aptfp3kd0ItUbhjHtRJBJesMbB/a7
	2dHFp1n+8VOGb20Pbk08C1ZBFhKps3uIM3DnFMkhtyYOMai4oDCSRmmmCUQr/IM6
	8N8fBvWidHZLbW2rSbc+P2cFgA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_BP autolearn=ham version=3.3.1
X-Received: by 10.14.213.67 with SMTP id z43mr4797660eeo.16.1367393438844;        Wed, 01 May 2013 00:30:38 -0700 (PDT)
Message-ID: <5180C499.7010105@gmail.com>
Date: Wed, 01 May 2013 09:30:33 +0200
From: marco atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: postgresql-devel package missing pg_config?
References: <51803D26.2060806@alice.it>
In-Reply-To: <51803D26.2060806@alice.it>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 4/30/2013 11:52 PM, Angelo Graziosi wrote:
> Jim Garrison wrote:
>> but had to add four library dependencies to the makefile, libssl,
>> libldap, libcrypto and libintl due to unresolved dependencies from libpq:
>
>
> Just for the record, recently trying to build ROOT [*], I had problems
> with libpq and postgresql- The ROOT build failed as
>
> [...]
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libpq.a(fe-connect.o): nella
> funzione "ldapServiceLookup":
> /pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/libpq/fe-connect.c:3541:
> riferimento non definito a "_ldap_init"
> /pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/libpq/fe-connect.c:3553:
> riferimento non definito a "_ldap_simple_bind"
> /pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/libpq/fe-connect.c:3563:
> riferimento non definito a "_ldap_result"
> [...]
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libpq.a(fe-misc.o): nella
> funzione "libpq_gettext":
> /pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/libpq/fe-misc.c:1202:
> riferimento non definito a "_libintl_bindtextdomain"
> [...]
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libpq.a(fe-secure.o): nella
> funzione "initialize_SSL":
> /pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/libpq/fe-secure.c:1094:
> riferimento non definito a "_SSL_CTX_use_certificate_chain_file"
> /pub/devel/postgresql/postgresql-9.2.4-1/src/postgresql-9.2.4/src/interfaces/libpq/fe-secure.c:1104:
> riferimento non definito a "_SSL_use_certificate_file"
>
>  >
>  > Not sure if I need to notify anybody of this...

looking at libpq5 dependency:

requires: libintl8 libopenldap2_4_2 libopenssl100 crypt openssl _autorebase

so likely you need the devel libs of some of that

>
>
> Ciao,
>   Angelo.
>
>
> ---
> [*] http://root.cern.ch/drupal/content/patch-release-53407
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

