Re: Problem: postfix 2.0.18 and mysql 4.0.18 on 5.2.1

2004-02-28 Thread Martin Hudec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I would take a look onto SSL stuff, having that viossl.o and various SSL and 
X509 errors in mind..

But that is maybe a loong shot.. I am going to install 5.2.1-RELEASE today, 
maybe I will find something out.. right now all I can offer you is hint I 
wrote above..

cheers,
Martin

On Fri February 27 2004 14:40, Morten Buhl wrote:
 Hi,
 I have run into some problems during compilation of
 postfix. It only occures when I try to compile in
 mysql support.

 snip
 [src/error]
 cc -DHAS_MYSQL -I/usr/local/include/mysql -DNO_PCRE
 -O -pipe -mcpu=pentiumpro -I. -I../../include
 -DFREEBSD5 -c error.c
 cc -DHAS_MYSQL -I/usr/local/include/mysql -DNO_PCRE
 -O -pipe -mcpu=pentiumpro -I. -I../../include
 -DFREEBSD5 -o error error.o ../../lib/libmaster.a
 ../../lib/libglobal.a ../../lib/libutil.a
 /usr/local/lib/mysql/libmysqlclient.a -lm -lz
 /usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
 function `report_errors':
 viossl.o(.text+0x3c): undefined reference to
 `ERR_get_error_line_data'
 /usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
 function `vio_ssl_read':
 viossl.o(.text+0xc7): undefined reference to
 `SSL_read'
 viossl.o(.text+0xdf): undefined reference to
 `SSL_get_error'
 /usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
 function `vio_ssl_write':
 viossl.o(.text+0x124): undefined reference to
 `SSL_write'
 /usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
 function `vio_ssl_close':
 viossl.o(.text+0x2a7): undefined reference to
 `SSL_shutdown'
 viossl.o(.text+0x2b7): undefined reference to
 `SSL_free'
 /usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
 function `sslaccept':
 viossl.o(.text+0x472): undefined reference to
 `SSL_new'
 viossl.o(.text+0x49a): undefined reference to
 `SSL_clear'
 viossl.o(.text+0x4a8): undefined reference to
 `SSL_get_session'
 viossl.o(.text+0x4b7): undefined reference to
 `SSL_SESSION_set_timeout'
 viossl.o(.text+0x4cb): undefined reference to
 `SSL_set_fd'
 viossl.o(.text+0x4d9): undefined reference to
 `SSL_set_accept_state'
 viossl.o(.text+0x4e7): undefined reference to
 `SSL_do_handshake'
 viossl.o(.text+0x4fe): undefined reference to
 `SSL_free'
 viossl.o(.text+0x56a): undefined reference to
 `SSL_get_peer_certificate'
 viossl.o(.text+0x578): undefined reference to
 `X509_get_subject_name'
 viossl.o(.text+0x590): undefined reference to
 `X509_NAME_oneline'
 viossl.o(.text+0x5a0): undefined reference to
 `X509_get_issuer_name'
 viossl.o(.text+0x5b8): undefined reference to
 `X509_NAME_oneline'
 viossl.o(.text+0x5c8): undefined reference to
 `X509_free'
 viossl.o(.text+0x5e8): undefined reference to
 `SSL_get_shared_ciphers'
 /usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
 function `sslconnect':
 viossl.o(.text+0x669): undefined reference to
 `SSL_new'
 viossl.o(.text+0x68b): undefined reference to
 `SSL_clear'
 viossl.o(.text+0x699): undefined reference to
 `SSL_get_session'
 viossl.o(.text+0x6a8): undefined reference to
 `SSL_SESSION_set_timeout'
 viossl.o(.text+0x6bc): undefined reference to
 `SSL_set_fd'
 viossl.o(.text+0x6ca): undefined reference to
 `SSL_set_connect_state'
 viossl.o(.text+0x6d8): undefined reference to
 `SSL_do_handshake'
 viossl.o(.text+0x6f4): undefined reference to
 `SSL_free'
 /usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
 In function `get_dh512':
 viosslfactories.o(.text+0xa): undefined reference to
 `DH_new'
 viosslfactories.o(.text+0x2c): undefined reference to
 `BN_bin2bn'
 viosslfactories.o(.text+0x4b): undefined reference to
 `BN_bin2bn'
 viosslfactories.o(.text+0x60): undefined reference to
 `DH_free'
 /usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
 In function `report_errors':
 viosslfactories.o(.text+0xa6): undefined reference to
 `ERR_get_error_line_data'
 /usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
 In function `vio_set_cert_stuff':
 viosslfactories.o(.text+0xf0): undefined reference to
 `SSL_CTX_use_certificate_file'
 viosslfactories.o(.text+0x126): undefined reference to
 `ERR_print_errors_fp'
 viosslfactories.o(.text+0x150): undefined reference to
 `SSL_CTX_use_PrivateKey_file'
 viosslfactories.o(.text+0x186): undefined reference to
 `ERR_print_errors_fp'
 viosslfactories.o(.text+0x1bb): undefined reference to
 `SSL_CTX_check_private_key'
 /usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
 In function `vio_verify_callback':
 viosslfactories.o(.text+0x1fc): undefined reference to
 `X509_STORE_CTX_get_current_cert'
 viosslfactories.o(.text+0x206): undefined reference to
 `X509_STORE_CTX_get_error'
 viosslfactories.o(.text+0x20e): undefined reference to
 `X509_STORE_CTX_get_error_depth'
 viosslfactories.o(.text+0x21c): undefined reference to
 `X509_get_subject_name'
 viosslfactories.o(.text+0x236): undefined reference to
 `X509_NAME_oneline'
 viosslfactories.o(.text+0x287): undefined reference to
 `X509_get_issuer_name'
 viosslfactories.o(.text+0x2a1): undefined reference to
 `X509_NAME_oneline'
 

Re: Problem: postfix 2.0.18 and mysql 4.0.18 on 5.2.1

2004-02-28 Thread Morten Grunnet Buhl
On Sat, 28 Feb 2004, Martin Hudec wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 I would take a look onto SSL stuff, having that viossl.o and various SSL and
 X509 errors in mind..

 But that is maybe a loong shot.. I am going to install 5.2.1-RELEASE today,
 maybe I will find something out.. right now all I can offer you is hint I
 wrote above..
- Thanks, it must have been one of those moments. I recompiled mysql
leavign out -DWITH_XCHAR=all and it worked fine. Dont know if that was the
actualy fix of if something had gone wrong the first time I compiled. but
anyway it works now :)

/Morten.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem: postfix 2.0.18 and mysql 4.0.18 on 5.2.1

2004-02-27 Thread Morten Buhl
Hi,
I have run into some problems during compilation of
postfix. It only occures when I try to compile in
mysql support.

snip
[src/error]
cc -DHAS_MYSQL -I/usr/local/include/mysql -DNO_PCRE 
-O -pipe -mcpu=pentiumpro -I. -I../../include
-DFREEBSD5 -c error.c
cc -DHAS_MYSQL -I/usr/local/include/mysql -DNO_PCRE 
-O -pipe -mcpu=pentiumpro -I. -I../../include
-DFREEBSD5 -o error error.o ../../lib/libmaster.a
../../lib/libglobal.a ../../lib/libutil.a
/usr/local/lib/mysql/libmysqlclient.a -lm -lz
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `report_errors':
viossl.o(.text+0x3c): undefined reference to
`ERR_get_error_line_data'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `vio_ssl_read':
viossl.o(.text+0xc7): undefined reference to
`SSL_read'
viossl.o(.text+0xdf): undefined reference to
`SSL_get_error'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `vio_ssl_write':
viossl.o(.text+0x124): undefined reference to
`SSL_write'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `vio_ssl_close':
viossl.o(.text+0x2a7): undefined reference to
`SSL_shutdown'
viossl.o(.text+0x2b7): undefined reference to
`SSL_free'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `sslaccept':
viossl.o(.text+0x472): undefined reference to
`SSL_new'
viossl.o(.text+0x49a): undefined reference to
`SSL_clear'
viossl.o(.text+0x4a8): undefined reference to
`SSL_get_session'
viossl.o(.text+0x4b7): undefined reference to
`SSL_SESSION_set_timeout'
viossl.o(.text+0x4cb): undefined reference to
`SSL_set_fd'
viossl.o(.text+0x4d9): undefined reference to
`SSL_set_accept_state'
viossl.o(.text+0x4e7): undefined reference to
`SSL_do_handshake'
viossl.o(.text+0x4fe): undefined reference to
`SSL_free'
viossl.o(.text+0x56a): undefined reference to
`SSL_get_peer_certificate'
viossl.o(.text+0x578): undefined reference to
`X509_get_subject_name'
viossl.o(.text+0x590): undefined reference to
`X509_NAME_oneline'
viossl.o(.text+0x5a0): undefined reference to
`X509_get_issuer_name'
viossl.o(.text+0x5b8): undefined reference to
`X509_NAME_oneline'
viossl.o(.text+0x5c8): undefined reference to
`X509_free'
viossl.o(.text+0x5e8): undefined reference to
`SSL_get_shared_ciphers'
/usr/local/lib/mysql/libmysqlclient.a(viossl.o): In
function `sslconnect':
viossl.o(.text+0x669): undefined reference to
`SSL_new'
viossl.o(.text+0x68b): undefined reference to
`SSL_clear'
viossl.o(.text+0x699): undefined reference to
`SSL_get_session'
viossl.o(.text+0x6a8): undefined reference to
`SSL_SESSION_set_timeout'
viossl.o(.text+0x6bc): undefined reference to
`SSL_set_fd'
viossl.o(.text+0x6ca): undefined reference to
`SSL_set_connect_state'
viossl.o(.text+0x6d8): undefined reference to
`SSL_do_handshake'
viossl.o(.text+0x6f4): undefined reference to
`SSL_free'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `get_dh512':
viosslfactories.o(.text+0xa): undefined reference to
`DH_new'
viosslfactories.o(.text+0x2c): undefined reference to
`BN_bin2bn'
viosslfactories.o(.text+0x4b): undefined reference to
`BN_bin2bn'
viosslfactories.o(.text+0x60): undefined reference to
`DH_free'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `report_errors':
viosslfactories.o(.text+0xa6): undefined reference to
`ERR_get_error_line_data'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `vio_set_cert_stuff':
viosslfactories.o(.text+0xf0): undefined reference to
`SSL_CTX_use_certificate_file'
viosslfactories.o(.text+0x126): undefined reference to
`ERR_print_errors_fp'
viosslfactories.o(.text+0x150): undefined reference to
`SSL_CTX_use_PrivateKey_file'
viosslfactories.o(.text+0x186): undefined reference to
`ERR_print_errors_fp'
viosslfactories.o(.text+0x1bb): undefined reference to
`SSL_CTX_check_private_key'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `vio_verify_callback':
viosslfactories.o(.text+0x1fc): undefined reference to
`X509_STORE_CTX_get_current_cert'
viosslfactories.o(.text+0x206): undefined reference to
`X509_STORE_CTX_get_error'
viosslfactories.o(.text+0x20e): undefined reference to
`X509_STORE_CTX_get_error_depth'
viosslfactories.o(.text+0x21c): undefined reference to
`X509_get_subject_name'
viosslfactories.o(.text+0x236): undefined reference to
`X509_NAME_oneline'
viosslfactories.o(.text+0x287): undefined reference to
`X509_get_issuer_name'
viosslfactories.o(.text+0x2a1): undefined reference to
`X509_NAME_oneline'
/usr/local/lib/mysql/libmysqlclient.a(viosslfactories.o):
In function `new_VioSSLConnectorFd':
viosslfactories.o(.text+0x30c): undefined reference to
`OPENSSL_add_all_algorithms_noconf'
viosslfactories.o(.text+0x321): undefined reference to
`SSL_load_error_strings'
viosslfactories.o(.text+0x331): undefined reference to
`TLSv1_client_method'
viosslfactories.o(.text+0x33c): undefined reference to
`SSL_CTX_new'
viosslfactories.o(.text+0x358): undefined reference to
`SSL_CTX_set_cipher_list'
viosslfactories.o(.text+0x372): undefined