socat compile

Rene Lange Rene.Lange at t-systems.com
Die Okt 15 10:11:53 CEST 2002


Moin,

ich hab hier ein Programm, was lokal per UNIX domain socket eine mysql
Datenbank benutzt. Das kann man dummerweise auch nicht ändern und ich
sehe nicht ein, mysql zu installieren, wo ich doch remote eine Datenbank
stehen habe.
Beim Suchen mit google bin ich auf "socat" gestoßen, klingt ja erstmal
verdammt interessant.

Also erste Frage: Nutzt mir das Programm etwas beim Vorhaben, den lokalen
socket auf einen remote tcp socket umzubiegen? Sprich: Daß es das kann,
weiß ich, aber wird das auch funktionieren?
Und zweite Frage: Beim Compilieren unter Debian Woody mit aktueller 
libssl (-dev) bricht er mit angehängten Fehlermeldungen ab. Irgendwelche
Ideen?


MfG
-- 
Rene Lange (rene.lange at t-systems.com)
-------------- nächster Teil --------------
gcc -Wall -Wno-parentheses -O -D_GNU_SOURCE  -DHAVE_CONFIG_H -I.  -o socat socat.c libxio.a -lutil -lreadline -lncurses 
libxio.a(xioread.o): In function `xioread':
xioread.o(.text+0x17e): undefined reference to `SSL_read'
libxio.a(xiowrite.o): In function `xiowrite':
xiowrite.o(.text+0x27b): undefined reference to `SSL_write'
libxio.a(xioshutdown.o): In function `xioshutdown':
xioshutdown.o(.text+0x90): undefined reference to `SSL_shutdown'
libxio.a(xioclose.o): In function `xioclose1':
xioclose.o(.text+0x6e): undefined reference to `SSL_shutdown'
xioclose.o(.text+0x8a): undefined reference to `SSL_free'
xioclose.o(.text+0x98): undefined reference to `SSL_CTX_free'
libxio.a(xio-openssl.o): In function `xioopen_openssl_connect':
xio-openssl.o(.text+0x287): undefined reference to `ERR_peek_error'
xio-openssl.o(.text+0x2b2): undefined reference to `ERR_error_string'
xio-openssl.o(.text+0x2c7): undefined reference to `ERR_get_error'
xio-openssl.o(.text+0x2f3): undefined reference to `ERR_peek_error'
xio-openssl.o(.text+0x31e): undefined reference to `ERR_error_string'
xio-openssl.o(.text+0x333): undefined reference to `ERR_get_error'
xio-openssl.o(.text+0x366): undefined reference to `ERR_peek_error'
xio-openssl.o(.text+0x38f): undefined reference to `ERR_error_string'
xio-openssl.o(.text+0x3aa): undefined reference to `ERR_get_error'
xio-openssl.o(.text+0x3d4): undefined reference to `ERR_peek_error'
xio-openssl.o(.text+0x3fc): undefined reference to `ERR_error_string'
xio-openssl.o(.text+0x414): undefined reference to `ERR_get_error'
xio-openssl.o(.text+0x43a): undefined reference to `SSL_get_error'
xio-openssl.o(.text+0x481): undefined reference to `ERR_peek_error'
xio-openssl.o(.text+0x4f8): undefined reference to `ERR_error_string_n'
xio-openssl.o(.text+0x504): undefined reference to `ERR_reason_error_string'
xio-openssl.o(.text+0x50e): undefined reference to `ERR_func_error_string'
xio-openssl.o(.text+0x51b): undefined reference to `ERR_lib_error_string'
xio-openssl.o(.text+0x534): undefined reference to `ERR_get_error'
xio-openssl.o(.text+0x54d): undefined reference to `ERR_print_errors_fp'
xio-openssl.o(.text+0x57b): undefined reference to `SSL_get_current_cipher'
xio-openssl.o(.text+0x581): undefined reference to `SSL_CIPHER_get_name'
xio-openssl.o(.text+0x59a): undefined reference to `SSL_get_peer_certificate'
xio-openssl.o(.text+0x5e8): undefined reference to `X509_get_subject_name'
xio-openssl.o(.text+0x5f1): undefined reference to `X509_NAME_oneline'
xio-openssl.o(.text+0x623): undefined reference to `X509_get_issuer_name'
xio-openssl.o(.text+0x62c): undefined reference to `X509_NAME_oneline'
xio-openssl.o(.text+0x69c): undefined reference to `X509_free'
libxio.a(sslcls.o): In function `sycSSL_load_error_strings':
sslcls.o(.text+0x1b): undefined reference to `SSL_load_error_strings'
libxio.a(sslcls.o): In function `sycSSL_library_init':
sslcls.o(.text+0x54): undefined reference to `SSL_library_init'
libxio.a(sslcls.o): In function `sycSSLv2_client_method':
sslcls.o(.text+0x90): undefined reference to `SSLv2_client_method'
libxio.a(sslcls.o): In function `sycSSLv3_client_method':
sslcls.o(.text+0xcc): undefined reference to `SSLv3_client_method'
libxio.a(sslcls.o): In function `sycSSLv23_client_method':
sslcls.o(.text+0x108): undefined reference to `SSLv23_client_method'
libxio.a(sslcls.o): In function `sycTLSv1_client_method':
sslcls.o(.text+0x144): undefined reference to `TLSv1_client_method'
libxio.a(sslcls.o): In function `sycSSL_CTX_new':
sslcls.o(.text+0x183): undefined reference to `SSL_CTX_new'
libxio.a(sslcls.o): In function `sycSSL_new':
sslcls.o(.text+0x1c3): undefined reference to `SSL_new'
libxio.a(sslcls.o): In function `sycSSL_set_cipher_list':
sslcls.o(.text+0x206): undefined reference to `SSL_set_cipher_list'
libxio.a(sslcls.o): In function `sycSSL_set_fd':
sslcls.o(.text+0x24a): undefined reference to `SSL_set_fd'
libxio.a(sslcls.o): In function `sycSSL_connect':
sslcls.o(.text+0x28b): undefined reference to `SSL_connect'
libxio.a(sslcls.o): In function `sycSSL_get_peer_certificate':
sslcls.o(.text+0x2cb): undefined reference to `SSL_get_peer_certificate'
collect2: ld returned 1 exit status
make: *** [socat] Fehler 1