postgresql-devel package missing pg_config?

marco atzeri marco.atzeri@gmail.com
Wed May 1 07:30:00 GMT 2013


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



More information about the Cygwin mailing list