www.ProFTPD.de
13. März 2007, 21:53:15 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Problem beim Kompilieren! MySQL 4.1 ???  (Gelesen 438 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
ilja
Gast
« am: 06. April 2005, 12:33:26 »

ich habe Debian 3 Woody.
mit MySQL 4.1.10a

habe ganz normal kompiliert fuer debian
./configure \
    --with-modules=mod_sql:mod_sql_mysql \
    --with-includes=/usr/include/mysql \
    --with-libraries=/usr/lib/mysql

nun bekomme ich eine fehlermeldung. ich poste mal ein paar zeilen mehr.
-------------------------------------------------------------------------------
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `sslaccept':
viossl.o(.text+0xd3): undefined reference to `SSL_new'
viossl.o(.text+0x119): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x165): undefined reference to `SSL_clear'
viossl.o(.text+0x179): undefined reference to `SSL_get_session'
viossl.o(.text+0x182): undefined reference to `SSL_SESSION_set_timeout'
viossl.o(.text+0x195): undefined reference to `SSL_set_fd'
viossl.o(.text+0x1a3): undefined reference to `SSL_set_accept_state'
viossl.o(.text+0x1b4): undefined reference to `SSL_do_handshake'
viossl.o(.text+0x1f8): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x20d): undefined reference to `SSL_free'
viossl.o(.text+0x260): undefined reference to `SSL_get_peer_certificate'
viossl.o(.text+0x279): undefined reference to `X509_get_subject_name'
viossl.o(.text+0x282): undefined reference to `X509_NAME_oneline'
viossl.o(.text+0x29e): undefined reference to `X509_get_issuer_name'
viossl.o(.text+0x2a7): undefined reference to `X509_NAME_oneline'
viossl.o(.text+0x2bc): undefined reference to `X509_free'
viossl.o(.text+0x2d9): undefined reference to `SSL_get_shared_ciphers'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `sslconnect':
viossl.o(.text+0x34f): undefined reference to `SSL_new'
viossl.o(.text+0x399): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x3e5): undefined reference to `SSL_clear'
viossl.o(.text+0x3f9): undefined reference to `SSL_get_session'
viossl.o(.text+0x402): undefined reference to `SSL_SESSION_set_timeout'
viossl.o(.text+0x415): undefined reference to `SSL_set_fd'
viossl.o(.text+0x423): undefined reference to `SSL_set_connect_state'
viossl.o(.text+0x434): undefined reference to `SSL_do_handshake'
viossl.o(.text+0x478): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x48d): undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_read':
viossl.o(.text+0x52f): undefined reference to `SSL_read'
viossl.o(.text+0x547): undefined reference to `SSL_get_error'
viossl.o(.text+0x583): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_write':
viossl.o(.text+0x5bb): undefined reference to `SSL_write'
viossl.o(.text+0x5fb): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_close':
viossl.o(.text+0x704): undefined reference to `SSL_shutdown'
viossl.o(.text+0x71b): undefined reference to `SSL_free'
viossl.o(.text+0x7ab): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd':
viosslfactories.o(.text+0x51): undefined reference to `OpenSSL_add_all_algorithms'
viosslfactories.o(.text+0x66): undefined reference to `SSL_load_error_strings'
viosslfactories.o(.text+0x6b): undefined reference to `TLSv1_client_method'
viosslfactories.o(.text+0x7a): undefined reference to `SSL_CTX_new'
viosslfactories.o(.text+0xa8): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0xc6): undefined reference to `SSL_CTX_set_cipher_list'
viosslfactories.o(.text+0xdd): undefined reference to `SSL_CTX_set_verify'
viosslfactories.o(.text+0xfc): undefined reference to `SSL_CTX_use_certificate_file'
viosslfactories.o(.text+0x124): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x144): undefined reference to `SSL_CTX_use_PrivateKey_file'
viosslfactories.o(.text+0x16c): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x1a5): undefined reference to `SSL_CTX_check_private_key'
viosslfactories.o(.text+0x1d8): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x1f7): undefined reference to `SSL_CTX_load_verify_locations'
viosslfactories.o(.text+0x20b): undefined reference to `SSL_CTX_set_default_verify_paths'
viosslfactories.o(.text+0x22d): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x241): undefined reference to `DH_new'
viosslfactories.o(.text+0x258): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x26c): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x285): undefined reference to `DH_free'
viosslfactories.o(.text+0x299): undefined reference to `SSL_CTX_ctrl'
viosslfactories.o(.text+0x2a2): undefined reference to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
viosslfactories.o(.text+0x306): undefined reference to `OpenSSL_add_all_algorithms'
viosslfactories.o(.text+0x31b): undefined reference to `SSL_load_error_strings'
viosslfactories.o(.text+0x320): undefined reference to `TLSv1_server_method'
viosslfactories.o(.text+0x32c): undefined reference to `SSL_CTX_new'
viosslfactories.o(.text+0x35b): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x37b): undefined reference to `SSL_CTX_set_cipher_list'
viosslfactories.o(.text+0x38e): undefined reference to `SSL_CTX_ctrl'
viosslfactories.o(.text+0x39f): undefined reference to `SSL_CTX_set_verify'
viosslfactories.o(.text+0x3b2): undefined reference to `SSL_CTX_set_session_id_context'
viosslfactories.o(.text+0x3d3): undefined reference to `SSL_CTX_use_certificate_file'
viosslfactories.o(.text+0x3fb): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x41f): undefined reference to `SSL_CTX_use_PrivateKey_file'
viosslfactories.o(.text+0x447): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x485): undefined reference to `SSL_CTX_check_private_key'
viosslfactories.o(.text+0x4bb): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x4dc): undefined reference to `SSL_CTX_load_verify_locations'
viosslfactories.o(.text+0x4ed): undefined reference to `SSL_CTX_set_default_verify_paths'
viosslfactories.o(.text+0x51b): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x529): undefined reference to `DH_new'
viosslfactories.o(.text+0x540): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x554): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x56d): undefined reference to `DH_free'
viosslfactories.o(.text+0x57e): undefined reference to `SSL_CTX_ctrl'
viosslfactories.o(.text+0x587): undefined reference to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
viosslfactories.o(.text+0x5bb): undefined reference to `X509_STORE_CTX_get_current_cert'
viosslfactories.o(.text+0x5c9): undefined reference to `X509_STORE_CTX_get_error'
viosslfactories.o(.text+0x5d8): undefined reference to `X509_STORE_CTX_get_error_depth'
viosslfactories.o(.text+0x5f6): undefined reference to `X509_get_subject_name'
viosslfactories.o(.text+0x5ff): undefined reference to `X509_NAME_oneline'
viosslfactories.o(.text+0x663): undefined reference to `X509_get_issuer_name'
viosslfactories.o(.text+0x66c): undefined reference to `X509_NAME_oneline'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1
-------------------------------------------------------------------------------

was soll ich jetzt tun?

danke,
ilja
Gespeichert
Peacemaker51(g)
Gast
« Antwort #1 am: 06. April 2005, 15:01:50 »

Hallo, ich glaube deinem System fehlt openssl oder etwas vergleichbares.... guck mal bei deinen Paketen ob openssl oder andere SSL-Dienste installiert sind...

mfg Peacemaker51
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #2 am: 06. April 2005, 15:25:29 »

da taucht sicherlich vorher eine Zeile, welche datei nicht gefunden wird
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Peacemaker51(g)
Gast
« Antwort #3 am: 06. April 2005, 15:31:37 »

... aber bei mir war es ähnlich mit ein paar anderen Sachen die fehlten und nicht angezeigt wurden... und da sämmtliche Fehler mit SSL zu tun haben könnte es ja eine fehlerhafte openssl installation sein...

Mfg Peacemaker51
Gespeichert
ilja
Gast
« Antwort #4 am: 06. April 2005, 16:50:56 »

was soll ich jetzt machen?

hier noch mal der volle:

-------------------------------------------------------------------------------------------------------
cd lib/ && make lib
make[1]: Entering directory `/home/eli/src/proftpd-1.2.10/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/home/eli/src/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/home/eli/src/proftpd-1.2.10/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/home/eli/src/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/home/eli/src/proftpd-1.2.10/modules'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/eli/src/proftpd-1.2.10/modules'
make[1]: Entering directory `/home/eli/src/proftpd-1.2.10/lib/libcap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eli/src/proftpd-1.2.10/lib/libcap'
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/child.o src/log.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_auth_pam.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -L/usr/lib/mysql -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient  -lpam
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `sslaccept':
viossl.o(.text+0xd3): undefined reference to `SSL_new'
viossl.o(.text+0x119): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x165): undefined reference to `SSL_clear'
viossl.o(.text+0x179): undefined reference to `SSL_get_session'
viossl.o(.text+0x182): undefined reference to `SSL_SESSION_set_timeout'
viossl.o(.text+0x195): undefined reference to `SSL_set_fd'
viossl.o(.text+0x1a3): undefined reference to `SSL_set_accept_state'
viossl.o(.text+0x1b4): undefined reference to `SSL_do_handshake'
viossl.o(.text+0x1f8): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x20d): undefined reference to `SSL_free'
viossl.o(.text+0x260): undefined reference to `SSL_get_peer_certificate'
viossl.o(.text+0x279): undefined reference to `X509_get_subject_name'
viossl.o(.text+0x282): undefined reference to `X509_NAME_oneline'
viossl.o(.text+0x29e): undefined reference to `X509_get_issuer_name'
viossl.o(.text+0x2a7): undefined reference to `X509_NAME_oneline'
viossl.o(.text+0x2bc): undefined reference to `X509_free'
viossl.o(.text+0x2d9): undefined reference to `SSL_get_shared_ciphers'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `sslconnect':
viossl.o(.text+0x34f): undefined reference to `SSL_new'
viossl.o(.text+0x399): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x3e5): undefined reference to `SSL_clear'
viossl.o(.text+0x3f9): undefined reference to `SSL_get_session'
viossl.o(.text+0x402): undefined reference to `SSL_SESSION_set_timeout'
viossl.o(.text+0x415): undefined reference to `SSL_set_fd'
viossl.o(.text+0x423): undefined reference to `SSL_set_connect_state'
viossl.o(.text+0x434): undefined reference to `SSL_do_handshake'
viossl.o(.text+0x478): undefined reference to `ERR_get_error_line_data'
viossl.o(.text+0x48d): undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_read':
viossl.o(.text+0x52f): undefined reference to `SSL_read'
viossl.o(.text+0x547): undefined reference to `SSL_get_error'
viossl.o(.text+0x583): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_write':
viossl.o(.text+0x5bb): undefined reference to `SSL_write'
viossl.o(.text+0x5fb): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function `vio_ssl_close':
viossl.o(.text+0x704): undefined reference to `SSL_shutdown'
viossl.o(.text+0x71b): undefined reference to `SSL_free'
viossl.o(.text+0x7ab): undefined reference to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd':
viosslfactories.o(.text+0x51): undefined reference to `OpenSSL_add_all_algorithms'
viosslfactories.o(.text+0x66): undefined reference to `SSL_load_error_strings'
viosslfactories.o(.text+0x6b): undefined reference to `TLSv1_client_method'
viosslfactories.o(.text+0x7a): undefined reference to `SSL_CTX_new'
viosslfactories.o(.text+0xa8): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0xc6): undefined reference to `SSL_CTX_set_cipher_list'
viosslfactories.o(.text+0xdd): undefined reference to `SSL_CTX_set_verify'
viosslfactories.o(.text+0xfc): undefined reference to `SSL_CTX_use_certificate_file'
viosslfactories.o(.text+0x124): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x144): undefined reference to `SSL_CTX_use_PrivateKey_file'
viosslfactories.o(.text+0x16c): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x1a5): undefined reference to `SSL_CTX_check_private_key'
viosslfactories.o(.text+0x1d8): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x1f7): undefined reference to `SSL_CTX_load_verify_locations'
viosslfactories.o(.text+0x20b): undefined reference to `SSL_CTX_set_default_verify_paths'
viosslfactories.o(.text+0x22d): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x241): undefined reference to `DH_new'
viosslfactories.o(.text+0x258): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x26c): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x285): undefined reference to `DH_free'
viosslfactories.o(.text+0x299): undefined reference to `SSL_CTX_ctrl'
viosslfactories.o(.text+0x2a2): undefined reference to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
viosslfactories.o(.text+0x306): undefined reference to `OpenSSL_add_all_algorithms'
viosslfactories.o(.text+0x31b): undefined reference to `SSL_load_error_strings'
viosslfactories.o(.text+0x320): undefined reference to `TLSv1_server_method'
viosslfactories.o(.text+0x32c): undefined reference to `SSL_CTX_new'
viosslfactories.o(.text+0x35b): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x37b): undefined reference to `SSL_CTX_set_cipher_list'
viosslfactories.o(.text+0x38e): undefined reference to `SSL_CTX_ctrl'
viosslfactories.o(.text+0x39f): undefined reference to `SSL_CTX_set_verify'
viosslfactories.o(.text+0x3b2): undefined reference to `SSL_CTX_set_session_id_context'
viosslfactories.o(.text+0x3d3): undefined reference to `SSL_CTX_use_certificate_file'
viosslfactories.o(.text+0x3fb): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x41f): undefined reference to `SSL_CTX_use_PrivateKey_file'
viosslfactories.o(.text+0x447): undefined reference to `ERR_print_errors_fp'
viosslfactories.o(.text+0x485): undefined reference to `SSL_CTX_check_private_key'
viosslfactories.o(.text+0x4bb): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x4dc): undefined reference to `SSL_CTX_load_verify_locations'
viosslfactories.o(.text+0x4ed): undefined reference to `SSL_CTX_set_default_verify_paths'
viosslfactories.o(.text+0x51b): undefined reference to `ERR_get_error_line_data'
viosslfactories.o(.text+0x529): undefined reference to `DH_new'
viosslfactories.o(.text+0x540): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x554): undefined reference to `BN_bin2bn'
viosslfactories.o(.text+0x56d): undefined reference to `DH_free'
viosslfactories.o(.text+0x57e): undefined reference to `SSL_CTX_ctrl'
viosslfactories.o(.text+0x587): undefined reference to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
viosslfactories.o(.text+0x5bb): undefined reference to `X509_STORE_CTX_get_current_cert'
viosslfactories.o(.text+0x5c9): undefined reference to `X509_STORE_CTX_get_error'
viosslfactories.o(.text+0x5d8): undefined reference to `X509_STORE_CTX_get_error_depth'
viosslfactories.o(.text+0x5f6): undefined reference to `X509_get_subject_name'
viosslfactories.o(.text+0x5ff): undefined reference to `X509_NAME_oneline'
viosslfactories.o(.text+0x663): undefined reference to `X509_get_issuer_name'
viosslfactories.o(.text+0x66c): undefined reference to `X509_NAME_oneline'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1
-------------------------------------------------------------------------------------------------------

openssl ist bei mir installiert!
was nun?
Gespeichert
peacemaker51
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #5 am: 06. April 2005, 17:12:47 »

Hast du es mal versucht zu deinstallieren und neu zu installieren ... hatte bei mir nämlich fehlerhafte installationen drauf komischerweise...

mfg Peacemaker51

P.S.: Weiss es aber nicht sicher ist nur eine Vermutung.
Gespeichert
ilja
Gast
« Antwort #6 am: 06. April 2005, 17:13:59 »

wird bisschen schlecht, wenn ich den openssl deinstalliere, denn manche programme benutzen den bzw. deren module.

hat noch jemand ne idee?
Gespeichert
peacemaker51
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #7 am: 06. April 2005, 17:15:15 »

Ok wenn openssl mit anderen programmen funzt liegt es nicht daran...
Gespeichert
peacemaker51
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #8 am: 06. April 2005, 17:17:23 »

Hast du mal ne andere MySQL Version versucht?
Gespeichert
ilja
Gast
« Antwort #9 am: 06. April 2005, 17:33:37 »

wozu das?? der funktioniert wunderbar!!! keine probleme!
Gespeichert
peacemaker51
ProFTPD
*
Offline Offline

Beiträge: 6


Profil anzeigen
« Antwort #10 am: 06. April 2005, 17:38:31 »

Hast du mal ne andere MySQL Version versucht?

Eventuell (glauben tue ich es nicht) ist diese datei fehlerhaft oder es fehlt dir noch irgendetwas :
Zitat
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':

dort wird ja durch den aufruf mehrerer funktionen irgendein fehler ausgelöst ... also entweder ist die datei fehlerhaft oder dir fehlt noch was anderes...

Mfg Peace
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.071 Sekunden mit 18 Zugriffen.