Fwd: undefined reference to `SSL_CTX_set_client_cert_cb' - Mailing list pgsql-admin

From Ezra Taylor
Subject Fwd: undefined reference to `SSL_CTX_set_client_cert_cb'
Date
Msg-id eb90f15e0706012027v696e126co860294defa8f5beb@mail.gmail.com
Whole thread Raw
In response to undefined reference to `SSL_CTX_set_client_cert_cb'  (Dieter Schicker <dieter.schicker@uni-graz.at>)
List pgsql-admin
Sorry for emailing you directly Dieter.  This question is for the group.

Any update on this issue.  I'm trying to run PyGreSQL-3.8.1 and python2.5.
The error message I'm getting after issuing the import _pg statement is below.


>>> import _pg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/pgsql/lib/libpq.so.5: undefined symbol: SSL_CTX_set_client_cert_cb






---------- Forwarded message ----------
From: Ezra Taylor <ezra.taylor@gmail.com >
Date: Jun 1, 2007 8:52 PM
Subject: Re: [ADMIN] undefined reference to `SSL_CTX_set_client_cert_cb'
To: Dieter Schicker <dieter.schicker@uni-graz.at>

Guys:
           Any update on this issue.  I'm trying to run PyGreSQL-3.8.1 and python2.5.
The error message I'm getting after issuing the import _pg statement is below.


>>> import _pg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/pgsql/lib/libpq.so.5: undefined symbol: SSL_CTX_set_client_cert_cb







On 3/15/07, Dieter Schicker <dieter.schicker@uni-graz.at > wrote:
Hello list,

I'm trying to compile postgresql-8.2.3 on a system running debian stable
with kernel 2.6.8-2-686, but compilation stops with this error:

<snip>
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wendif-labels -fno-strict-aliasing initdb.o  -L../../../src/port
-lpgport -L../../../src/interfaces/libpq -lpq -L../../../src/port
-Wl,-rpath,'/usr/local/pgsql-8.2.3/lib' -lpgport -lpam -lssl -lcrypto
-lkrb5 -lz -lreadline -lcrypt -ldl -lm  -o initdb
../../../src/interfaces/libpq/libpq.so: undefined reference to
`SSL_CTX_set_client_cert_cb'
collect2: ld returned 1 exit status
make[3]: *** [initdb] Error 1
make[3]: Leaving directory `/usr/local/src/postgresql-8.2.3/src/bin/initdb'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/local/src/postgresql-8.2.3/src/bin'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/postgresql-8.2.3/src'
</snip>

Of course the debian packages libssl-dev, libssl0.9.6, libssl0.9.7 and
openssl are installed.

Any ideas?

Thanks in advance
Dieter


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org



--
Ezra Taylor

--
Ezra Taylor

pgsql-admin by date:

Previous
From: Jon Colverson
Date:
Subject: Re: Attempt to re-archive existing WAL logs afterrestoringfrom backup
Next
From: Andreas
Date:
Subject: Need a wee bit more info on PostgreSQL's SSL security options