Installation Error for installation of Apache-1.3.39+php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
am 28.12.2007 16:31:45 von Emmanuel Nnko
------=_Part_22503_12051075.1198855905555
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear Team,
I am installing secured PHP with capability of PostgreSQL of this
combination: Apache-1.3.39+Php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
OpenSSL-0.9.8g and PostgreSQL-8.1.10 have already been successfully
installed.
I am getting errors when I am 'make' ing on PHP. Below is my php configure
command which is successful:
'
[root@nms php-5.2.5]# CFLAGS="-O3 -march=i686 -mtune=i686 -funroll-loops
-fomit-frame-pointer -I/usr/include/openssl" ./configure --prefix=/usr
--with-exec-dir=/usr/bin --with-apache=../apache_1.3.39
--with-config-file-path=/etc/httpd --with-gd --with-ttf --with-mm
--with-pgsql --with-gettext --with-zlib --enable-inline-optimization
--enable-bcmath --with-libxml-dir=/usr --with-openssl --with-zlib-dir=/usr
--with-png-dir=/usr --with-jpeg-dir=/usr
'
But when I do 'make' I get the following error:
'
[truncated]
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-mis c.o): In
function `pqSocketCheck':
fe-misc.c:(.text+0xab): undefined reference to `SSL_pending'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `SSLerrmessage':
fe-secure.c:(.text+0x63): undefined reference to `ERR_get_error'
fe-secure.c:(.text+0x71): undefined reference to `ERR_reason_error_string'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `pqsecure_destroy':
fe-secure.c:(.text+0x110): undefined reference to `SSL_CTX_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `load_dh_file':
fe-secure.c:(.text+0x1de): undefined reference to `PEM_read_DHparams'
fe-secure.c:(.text+0x1f8): undefined reference to `DH_size'
fe-secure.c:(.text+0x216): undefined reference to `DH_check'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `pqsecure_initialize':
fe-secure.c:(.text+0x29a): undefined reference to
`SSL_CTX_set_tmp_dh_callback'
fe-secure.c:(.text+0x2c0): undefined reference to `SSL_CTX_ctrl'
fe-secure.c:(.text+0x2d5): undefined reference to
`SSL_CTX_set_client_cert_cb'
fe-secure.c:(.text+0x346): undefined reference to
`SSL_CTX_load_verify_locations'
fe-secure.c:(.text+0x36c): undefined reference to `SSL_CTX_set_verify'
fe-secure.c:(.text+0x381): undefined reference to `TLSv1_method'
fe-secure.c:(.text+0x389): undefined reference to `SSL_CTX_new'
fe-secure.c:(.text+0x3d6): undefined reference to `SSL_library_init'
fe-secure.c:(.text+0x3e1): undefined reference to `SSL_load_error_strings'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `client_cert_cb':
fe-secure.c:(.text+0x47c): undefined reference to `SSL_get_ex_data'
fe-secure.c:(.text+0x534): undefined reference to `PEM_read_X509'
fe-secure.c:(.text+0x750): undefined reference to `PEM_read_PrivateKey'
fe-secure.c:(.text+0x77e): undefined reference to `X509_check_private_key'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `pqsecure_write':
fe-secure.c:(.text+0x8a7): undefined reference to `SSL_write'
fe-secure.c:(.text+0x8bb): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `pqsecure_read':
fe-secure.c:(.text+0xa57): undefined reference to `SSL_read'
fe-secure.c:(.text+0xa6b): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `tmp_dh_cb':
fe-secure.c:(.text+0xbe9): undefined reference to `DH_size'
fe-secure.c:(.text+0xc10): undefined reference to `DH_generate_parameters'
fe-secure.c:(.text+0xcce): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xcf4): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xcfe): undefined reference to `BIO_free'
fe-secure.c:(.text+0xd36): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xd5c): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xd66): undefined reference to `BIO_free'
fe-secure.c:(.text+0xd9e): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xdc4): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xdce): undefined reference to `BIO_free'
fe-secure.c:(.text+0xe06): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xe2c): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xe36): undefined reference to `BIO_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `pqsecure_close':
fe-secure.c:(.text+0xe66): undefined reference to `SSL_shutdown'
fe-secure.c:(.text+0xe74): undefined reference to `SSL_free'
fe-secure.c:(.text+0xe90): undefined reference to `X509_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
function `pqsecure_open_client':
fe-secure.c:(.text+0xed7): undefined reference to `SSL_connect'
fe-secure.c:(.text+0xef3): undefined reference to `SSL_get_error'
fe-secure.c:(.text+0xf61): undefined reference to `SSL_shutdown'
fe-secure.c:(.text+0xf6f): undefined reference to `SSL_free'
fe-secure.c:(.text+0xf8b): undefined reference to `X509_free'
fe-secure.c:(.text+0xfeb): undefined reference to `SSL_new'
fe-secure.c:(.text+0x1009): undefined reference to `SSL_set_ex_data'
fe-secure.c:(.text+0x105a): undefined reference to
`SSL_get_peer_certificate'
fe-secure.c:(.text+0x1070): undefined reference to `X509_get_subject_name'
fe-secure.c:(.text+0x108a): undefined reference to `X509_NAME_oneline'
fe-secure.c:(.text+0x109f): undefined reference to `X509_get_subject_name'
fe-secure.c:(.text+0x10c1): undefined reference to
`X509_NAME_get_text_by_NID'
fe-secure.c:(.text+0x112b): undefined reference to `SSL_set_fd'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
'
Please help to resolve the error.
Thanks in advance.
Emmanuel
------=_Part_22503_12051075.1198855905555
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Dear Team,
I am installing secured PHP with capability of PostgreSQL of this combination: Apache-1.3.39+Php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
OpenSSL-0.9.8g and PostgreSQL-8.1.10 have already been successfully installed.
I am getting errors when I am 'make' ing on PHP. Below is my php configure command which is successful:
'
[root@nms php-5.2.5]# CFLAGS="-O3 -march=i686 -mtune=i686 -funroll-loops -fomit-frame-pointer -I/usr/include/openssl" ./configure --prefix=/usr --with-exec-dir=/usr/bin --with-apache=../apache_1.3.39 --with-config-file-path=/etc/httpd --with-gd --with-ttf --with-mm --with-pgsql --with-gettext --with-zlib --enable-inline-optimization --enable-bcmath --with-libxml-dir=/usr --with-openssl --with-zlib-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr
'
But when I do 'make' I get the following error:
'
[truncated]
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-mis c.o): In function `pqSocketCheck':
fe-misc.c:(.text+0xab): undefined reference to `SSL_pending'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `SSLerrmessage':
fe-secure.c:(.text+0x63): undefined reference to `ERR_get_error'
fe-secure.c:(.text+0x71): undefined reference to `ERR_reason_error_string'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `pqsecure_destroy':
fe-secure.c:(.text+0x110): undefined reference to `SSL_CTX_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(
fe-secure.o): In function `load_dh_file':
fe-secure.c:(.text+0x1de): undefined reference to `PEM_read_DHparams'
fe-secure.c:(.text+0x1f8): undefined reference to `DH_size'
fe-secure.c:(.text+0x216): undefined reference to `DH_check'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `pqsecure_initialize':
fe-secure.c:(.text+0x29a): undefined reference to `SSL_CTX_set_tmp_dh_callback'
fe-secure.c:(.text+0x2c0): undefined reference to `SSL_CTX_ctrl'
fe-secure.c:(.text+0x2d5): undefined reference to `SSL_CTX_set_client_cert_cb'
fe-secure.c:(.text+0x346): undefined reference to `SSL_CTX_load_verify_locations'
fe-secure.c:(.text+0x36c): undefined reference to `SSL_CTX_set_verify'
fe-secure.c:(.text+0x381): undefined reference to `TLSv1_method'
fe-secure.c:(.text+0x389): undefined reference to `SSL_CTX_new'
fe-secure.c:(.text+0x3d6): undefined reference to `SSL_library_init'
fe-secure.c:(.text+0x3e1): undefined reference to `SSL_load_error_strings'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `client_cert_cb':
fe-secure.c:(.text+0x47c): undefined reference to `SSL_get_ex_data'
fe-secure.c:(.text+0x534): undefined reference to `PEM_read_X509'
fe-secure.c:(.text+0x750): undefined reference to `PEM_read_PrivateKey'
fe-secure.c:(.text+0x77e): undefined reference to `X509_check_private_key'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `pqsecure_write':
fe-secure.c:(.text+0x8a7): undefined reference to `SSL_write'
fe-secure.c:(.text+0x8bb): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `pqsecure_read':
fe-secure.c:(.text+0xa57): undefined reference to `SSL_read'
fe-secure.c:(.text+0xa6b): undefined reference to `SSL_get_error'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `tmp_dh_cb':
fe-secure.c:(.text+0xbe9): undefined reference to `DH_size'
fe-secure.c:(.text+0xc10): undefined reference to `DH_generate_parameters'
fe-secure.c:(.text+0xcce): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xcf4): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xcfe): undefined reference to `BIO_free'
fe-secure.c:(.text+0xd36): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xd5c): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xd66): undefined reference to `BIO_free'
fe-secure.c:(.text+0xd9e): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xdc4): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xdce): undefined reference to `BIO_free'
fe-secure.c:(.text+0xe06): undefined reference to `BIO_new_mem_buf'
fe-secure.c:(.text+0xe2c): undefined reference to `PEM_read_bio_DHparams'
fe-secure.c:(.text+0xe36): undefined reference to `BIO_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `pqsecure_close':
fe-secure.c:(.text+0xe66): undefined reference to `SSL_shutdown'
fe-secure.c:(.text+0xe74): undefined reference to `SSL_free'
fe-secure.c:(.text+0xe90): undefined reference to `X509_free'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In function `pqsecure_open_client':
fe-secure.c:(.text+0xed7): undefined reference to `SSL_connect'
fe-secure.c:(.text+0xef3): undefined reference to `SSL_get_error'
fe-secure.c:(.text+0xf61): undefined reference to `SSL_shutdown'
fe-secure.c:(.text+0xf6f): undefined reference to `SSL_free'
fe-secure.c:
(.text+0xf8b): undefined reference to `X509_free'
fe-secure.c:(.text+0xfeb): undefined reference to `SSL_new'
fe-secure.c:(.text+0x1009): undefined reference to `SSL_set_ex_data'
fe-secure.c:(.text+0x105a): undefined reference to `SSL_get_peer_certificate'
fe-secure.c:(.text+0x1070): undefined reference to `X509_get_subject_name'
fe-secure.c:(.text+0x108a): undefined reference to `X509_NAME_oneline'
fe-secure.c:(.text+0x109f): undefined reference to `X509_get_subject_name'
fe-secure.c:(.text+0x10c1): undefined reference to `X509_NAME_get_text_by_NID'
fe-secure.c:(.text+0x112b): undefined reference to `SSL_set_fd'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
'
Please help to resolve the error.
Thanks in advance.
Emmanuel
------=_Part_22503_12051075.1198855905555--
Re: Installation Error for installation ofApache-1.3.39+php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
am 29.12.2007 16:24:50 von Robert Treat
On Friday 28 December 2007 10:31, Emmanuel Nnko wrote:
> Dear Team,
>
> I am installing secured PHP with capability of PostgreSQL of this
> combination: Apache-1.3.39+Php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
>
> OpenSSL-0.9.8g and PostgreSQL-8.1.10 have already been successfully
> installed.
>
> I am getting errors when I am 'make' ing on PHP. Below is my php configure
> command which is successful:
>
> '
> [root@nms php-5.2.5]# CFLAGS="-O3 -march=i686 -mtune=i686 -funroll-loops
> -fomit-frame-pointer -I/usr/include/openssl" ./configure --prefix=/usr
> --with-exec-dir=/usr/bin --with-apache=../apache_1.3.39
> --with-config-file-path=/etc/httpd --with-gd --with-ttf --with-mm
> --with-pgsql --with-gettext --with-zlib --enable-inline-optimization
> --enable-bcmath --with-libxml-dir=/usr --with-openssl --with-zlib-dir=/usr
> --with-png-dir=/usr --with-jpeg-dir=/usr
> '
> But when I do 'make' I get the following error:
>
> '
> [truncated]
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-mis c.o): In
> function `pqSocketCheck':
> fe-misc.c:(.text+0xab): undefined reference to `SSL_pending'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `SSLerrmessage':
> fe-secure.c:(.text+0x63): undefined reference to `ERR_get_error'
> fe-secure.c:(.text+0x71): undefined reference to `ERR_reason_error_string'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `pqsecure_destroy':
> fe-secure.c:(.text+0x110): undefined reference to `SSL_CTX_free'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `load_dh_file':
> fe-secure.c:(.text+0x1de): undefined reference to `PEM_read_DHparams'
> fe-secure.c:(.text+0x1f8): undefined reference to `DH_size'
> fe-secure.c:(.text+0x216): undefined reference to `DH_check'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `pqsecure_initialize':
> fe-secure.c:(.text+0x29a): undefined reference to
> `SSL_CTX_set_tmp_dh_callback'
> fe-secure.c:(.text+0x2c0): undefined reference to `SSL_CTX_ctrl'
> fe-secure.c:(.text+0x2d5): undefined reference to
> `SSL_CTX_set_client_cert_cb'
> fe-secure.c:(.text+0x346): undefined reference to
> `SSL_CTX_load_verify_locations'
> fe-secure.c:(.text+0x36c): undefined reference to `SSL_CTX_set_verify'
> fe-secure.c:(.text+0x381): undefined reference to `TLSv1_method'
> fe-secure.c:(.text+0x389): undefined reference to `SSL_CTX_new'
> fe-secure.c:(.text+0x3d6): undefined reference to `SSL_library_init'
> fe-secure.c:(.text+0x3e1): undefined reference to `SSL_load_error_strings'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `client_cert_cb':
> fe-secure.c:(.text+0x47c): undefined reference to `SSL_get_ex_data'
> fe-secure.c:(.text+0x534): undefined reference to `PEM_read_X509'
> fe-secure.c:(.text+0x750): undefined reference to `PEM_read_PrivateKey'
> fe-secure.c:(.text+0x77e): undefined reference to `X509_check_private_key'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `pqsecure_write':
> fe-secure.c:(.text+0x8a7): undefined reference to `SSL_write'
> fe-secure.c:(.text+0x8bb): undefined reference to `SSL_get_error'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `pqsecure_read':
> fe-secure.c:(.text+0xa57): undefined reference to `SSL_read'
> fe-secure.c:(.text+0xa6b): undefined reference to `SSL_get_error'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `tmp_dh_cb':
> fe-secure.c:(.text+0xbe9): undefined reference to `DH_size'
> fe-secure.c:(.text+0xc10): undefined reference to `DH_generate_parameters'
> fe-secure.c:(.text+0xcce): undefined reference to `BIO_new_mem_buf'
> fe-secure.c:(.text+0xcf4): undefined reference to `PEM_read_bio_DHparams'
> fe-secure.c:(.text+0xcfe): undefined reference to `BIO_free'
> fe-secure.c:(.text+0xd36): undefined reference to `BIO_new_mem_buf'
> fe-secure.c:(.text+0xd5c): undefined reference to `PEM_read_bio_DHparams'
> fe-secure.c:(.text+0xd66): undefined reference to `BIO_free'
> fe-secure.c:(.text+0xd9e): undefined reference to `BIO_new_mem_buf'
> fe-secure.c:(.text+0xdc4): undefined reference to `PEM_read_bio_DHparams'
> fe-secure.c:(.text+0xdce): undefined reference to `BIO_free'
> fe-secure.c:(.text+0xe06): undefined reference to `BIO_new_mem_buf'
> fe-secure.c:(.text+0xe2c): undefined reference to `PEM_read_bio_DHparams'
> fe-secure.c:(.text+0xe36): undefined reference to `BIO_free'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `pqsecure_close':
> fe-secure.c:(.text+0xe66): undefined reference to `SSL_shutdown'
> fe-secure.c:(.text+0xe74): undefined reference to `SSL_free'
> fe-secure.c:(.text+0xe90): undefined reference to `X509_free'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
> function `pqsecure_open_client':
> fe-secure.c:(.text+0xed7): undefined reference to `SSL_connect'
> fe-secure.c:(.text+0xef3): undefined reference to `SSL_get_error'
> fe-secure.c:(.text+0xf61): undefined reference to `SSL_shutdown'
> fe-secure.c:(.text+0xf6f): undefined reference to `SSL_free'
> fe-secure.c:(.text+0xf8b): undefined reference to `X509_free'
> fe-secure.c:(.text+0xfeb): undefined reference to `SSL_new'
> fe-secure.c:(.text+0x1009): undefined reference to `SSL_set_ex_data'
> fe-secure.c:(.text+0x105a): undefined reference to
> `SSL_get_peer_certificate'
> fe-secure.c:(.text+0x1070): undefined reference to `X509_get_subject_name'
> fe-secure.c:(.text+0x108a): undefined reference to `X509_NAME_oneline'
> fe-secure.c:(.text+0x109f): undefined reference to `X509_get_subject_name'
> fe-secure.c:(.text+0x10c1): undefined reference to
> `X509_NAME_get_text_by_NID'
> fe-secure.c:(.text+0x112b): undefined reference to `SSL_set_fd'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
> '
If I had to guess, I'd say your php is having an issue finding your postgresql
headers, but I think you've snipped off some important pieces of output. Can
you look in your make output and see if there is anything interesting just
before you start getting these undefined reference errors?
--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
Re: Installation Error for installation of Apache-1.3.39+php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
am 30.12.2007 23:16:10 von knowhow
Robert Treat wrote:
> On Friday 28 December 2007 10:31, Emmanuel Nnko wrote:
> =20
>> Dear Team,
>>
>> I am installing secured PHP with capability of PostgreSQL of this
>> combination: Apache-1.3.39+Php-5.2.5+OpenSSL-0.9.8g+PostgreSQL-8.1.10
>>
>> OpenSSL-0.9.8g and PostgreSQL-8.1.10 have already been successfully
>> installed.
>>
>> I am getting errors when I am 'make' ing on PHP. Below is my php confi=
gure
>> command which is successful:
>>
>> '
>> [root@nms php-5.2.5]# CFLAGS=3D"-O3 -march=3Di686 -mtune=3Di686 -funro=
ll-loops
>> -fomit-frame-pointer -I/usr/include/openssl" ./configure --prefix=3D/u=
sr
>> --with-exec-dir=3D/usr/bin --with-apache=3D../apache_1.3.39
>> --with-config-file-path=3D/etc/httpd --with-gd --with-ttf --with-mm
>> --with-pgsql --with-gettext --with-zlib --enable-inline-optimization
>> --enable-bcmath --with-libxml-dir=3D/usr --with-openssl --with-zlib-di=
r=3D/usr
>> --with-png-dir=3D/usr --with-jpeg-dir=3D/usr
>> '
>> But when I do 'make' I get the following error:
>>
>> '
>> [truncated]
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-mis c.o): In
>> function `pqSocketCheck':
>> fe-misc.c:(.text+0xab): undefined reference to `SSL_pending'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `SSLerrmessage':
>> fe-secure.c:(.text+0x63): undefined reference to `ERR_get_error'
>> fe-secure.c:(.text+0x71): undefined reference to `ERR_reason_error_str=
ing'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `pqsecure_destroy':
>> fe-secure.c:(.text+0x110): undefined reference to `SSL_CTX_free'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `load_dh_file':
>> fe-secure.c:(.text+0x1de): undefined reference to `PEM_read_DHparams'
>> fe-secure.c:(.text+0x1f8): undefined reference to `DH_size'
>> fe-secure.c:(.text+0x216): undefined reference to `DH_check'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `pqsecure_initialize':
>> fe-secure.c:(.text+0x29a): undefined reference to
>> `SSL_CTX_set_tmp_dh_callback'
>> fe-secure.c:(.text+0x2c0): undefined reference to `SSL_CTX_ctrl'
>> fe-secure.c:(.text+0x2d5): undefined reference to
>> `SSL_CTX_set_client_cert_cb'
>> fe-secure.c:(.text+0x346): undefined reference to
>> `SSL_CTX_load_verify_locations'
>> fe-secure.c:(.text+0x36c): undefined reference to `SSL_CTX_set_verify'
>> fe-secure.c:(.text+0x381): undefined reference to `TLSv1_method'
>> fe-secure.c:(.text+0x389): undefined reference to `SSL_CTX_new'
>> fe-secure.c:(.text+0x3d6): undefined reference to `SSL_library_init'
>> fe-secure.c:(.text+0x3e1): undefined reference to `SSL_load_error_stri=
ngs'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `client_cert_cb':
>> fe-secure.c:(.text+0x47c): undefined reference to `SSL_get_ex_data'
>> fe-secure.c:(.text+0x534): undefined reference to `PEM_read_X509'
>> fe-secure.c:(.text+0x750): undefined reference to `PEM_read_PrivateKey=
'
>> fe-secure.c:(.text+0x77e): undefined reference to `X509_check_private_=
key'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `pqsecure_write':
>> fe-secure.c:(.text+0x8a7): undefined reference to `SSL_write'
>> fe-secure.c:(.text+0x8bb): undefined reference to `SSL_get_error'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `pqsecure_read':
>> fe-secure.c:(.text+0xa57): undefined reference to `SSL_read'
>> fe-secure.c:(.text+0xa6b): undefined reference to `SSL_get_error'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `tmp_dh_cb':
>> fe-secure.c:(.text+0xbe9): undefined reference to `DH_size'
>> fe-secure.c:(.text+0xc10): undefined reference to `DH_generate_paramet=
ers'
>> fe-secure.c:(.text+0xcce): undefined reference to `BIO_new_mem_buf'
>> fe-secure.c:(.text+0xcf4): undefined reference to `PEM_read_bio_DHpara=
ms'
>> fe-secure.c:(.text+0xcfe): undefined reference to `BIO_free'
>> fe-secure.c:(.text+0xd36): undefined reference to `BIO_new_mem_buf'
>> fe-secure.c:(.text+0xd5c): undefined reference to `PEM_read_bio_DHpara=
ms'
>> fe-secure.c:(.text+0xd66): undefined reference to `BIO_free'
>> fe-secure.c:(.text+0xd9e): undefined reference to `BIO_new_mem_buf'
>> fe-secure.c:(.text+0xdc4): undefined reference to `PEM_read_bio_DHpara=
ms'
>> fe-secure.c:(.text+0xdce): undefined reference to `BIO_free'
>> fe-secure.c:(.text+0xe06): undefined reference to `BIO_new_mem_buf'
>> fe-secure.c:(.text+0xe2c): undefined reference to `PEM_read_bio_DHpara=
ms'
>> fe-secure.c:(.text+0xe36): undefined reference to `BIO_free'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `pqsecure_close':
>> fe-secure.c:(.text+0xe66): undefined reference to `SSL_shutdown'
>> fe-secure.c:(.text+0xe74): undefined reference to `SSL_free'
>> fe-secure.c:(.text+0xe90): undefined reference to `X509_free'
>> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpq.a(fe-sec ure.o): In
>> function `pqsecure_open_client':
>> fe-secure.c:(.text+0xed7): undefined reference to `SSL_connect'
>> fe-secure.c:(.text+0xef3): undefined reference to `SSL_get_error'
>> fe-secure.c:(.text+0xf61): undefined reference to `SSL_shutdown'
>> fe-secure.c:(.text+0xf6f): undefined reference to `SSL_free'
>> fe-secure.c:(.text+0xf8b): undefined reference to `X509_free'
>> fe-secure.c:(.text+0xfeb): undefined reference to `SSL_new'
>> fe-secure.c:(.text+0x1009): undefined reference to `SSL_set_ex_data'
>> fe-secure.c:(.text+0x105a): undefined reference to
>> `SSL_get_peer_certificate'
>> fe-secure.c:(.text+0x1070): undefined reference to `X509_get_subject_n=
ame'
>> fe-secure.c:(.text+0x108a): undefined reference to `X509_NAME_oneline'
>> fe-secure.c:(.text+0x109f): undefined reference to `X509_get_subject_n=
ame'
>> fe-secure.c:(.text+0x10c1): undefined reference to
>> `X509_NAME_get_text_by_NID'
>> fe-secure.c:(.text+0x112b): undefined reference to `SSL_set_fd'
>> collect2: ld returned 1 exit status
>> make: *** [sapi/cli/php] Error 1
>> '
>> =20
>
> If I had to guess, I'd say your php is having an issue finding your pos=
tgresql=20
> headers, but I think you've snipped off some important pieces of output=
.. Can=20
> you look in your make output and see if there is anything interesting j=
ust=20
> before you start getting these undefined reference errors?=20
>
> =20
Do you need add support OpenSSL, try installing the OpenSSL suite before.
Check this URL: (=20
http://darkavngr.blogspot.com/2007/08/configurar-el-protocol o-ssl-en-apac=
he.html=20
), should by helpful.
--=20
Regards,
Julio Cesar S=E1nchez Gonz=E1lez.
--
Ahora me he convertido en la muerte, destructora de mundos.
Soy la Muerte que se lleva todo, la fuente de las cosas que vendran.
www.sistemasyconectividad.com.mx http://darkavngr.blogspot.com/
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate