www.ProFTPD.de
13. März 2007, 21:24:51 *
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: proftpd & tls kompilierproblem  (Gelesen 306 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« am: 02. März 2004, 14:11:46 »

hi,

bin neu in diesem Forum, da ich vorher ein eigefleischter wu-ftpd fan war. Aufgrund der immer häufiger vorkommenden Bugs im wu-ftp-server hab ich nun zu proftpd gewechselt und wollte dort nun auch gleich ein paar Features nutzen, die ich vorher auch benutzt haben. Da ich kein Fan von klartext Passwortübermittlung, sowie unverschlüsseltem Datentransfer bin ist mein Ziel vorerst Proftpd nur mit TLS zu kombinieren. Zu diesem Thema hab ich auch schon einige Howtos gefunden, die mir mit meinem Problem nicht weiterhelfen. Ich sollte noch dazu sagen dass ich Debian 3.0 Woody mit nem 2.4.25 kernel benutze.
Verlauf:

Zu allerest habe ich mir proftpd 1.2.9 gezogen.
hab es entpackt und ein
./configure --with-modules=mod_tls gemacht
das lief auch ohne Probleme durch

das kompilieren mit make selbst aber brach immer wieder ab (auch ein make clean vor make hat nichts genutzt):

make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/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/log.o src/bindings.o src/scoreboard.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 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_tls.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lssl -lcrypto
modules/mod_tls.o: In function `tls_check_client_cert':
modules/mod_tls.o(.text+0x279): undefined reference to `ASN1_item_d2i'
modules/mod_tls.o(.text+0x3d4): undefined reference to `ASN1_item_free'
modules/mod_tls.o: In function `tls_renegotiate_timeout_cb':
modules/mod_tls.o(.text+0x4ed): undefined reference to `SSL_renegotiate_pending'
modules/mod_tls.o(.text+0x59d): undefined reference to `SSL_renegotiate_pending'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1

openssl und libssl-dev sind installiert
anfangs hatte ich noch einen anderen fehler, da er beim kompilieren die libaries von openssl nicht gefunden hatte, dies habe ich duch einen Symlink in /usr/include allerdings gelöst
Auch als ich openssl selbst heruntergeladen und kompiliert habe, hat es nichts genutzt, somit denke ich kann es nicht an der Version von Openssl liegen:
master:~# dpkg -s openssl
Package: openssl
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1784
Maintainer: Christoph Martin <christoph.martin@uni-mainz.de>
Version: 0.9.6c-2.woody.4

Das ist nun die aktuelle version die auch auf meinem Server installiert habe

Weiss jemand Rat, was ich falsch gemacht habe bzw noch tun muss

Schonmal vielen Dank im Vorraus

Gruß Unux
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 02. März 2004, 14:14:58 »

gebe mal mit die Include und Library Pfade explizit mit an. (bei configure)

cu
stonki
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
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« Antwort #2 am: 02. März 2004, 14:31:22 »

habe es nun mal mit

./configure --with-modules=mod_tls --with-includes=/usr/include/openssl --with-libaries=/usr/include/openssl

der Fehler aber bleibt der gleiche:

make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/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/log.o src/bindings.o src/scoreboard.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 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_tls.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lssl -lcrypto
modules/mod_tls.o: In function `tls_check_client_cert':
modules/mod_tls.o(.text+0x279): undefined reference to `ASN1_item_d2i'
modules/mod_tls.o(.text+0x3d4): undefined reference to `ASN1_item_free'
modules/mod_tls.o: In function `tls_renegotiate_timeout_cb':
modules/mod_tls.o(.text+0x4ed): undefined reference to `SSL_renegotiate_pending'
modules/mod_tls.o(.text+0x59d): undefined reference to `SSL_renegotiate_pending'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1
Gespeichert
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« Antwort #3 am: 05. März 2004, 10:48:51 »

hallo zusammen,

hat niemand ne Ahnung was für ein Problem ich hier habe? Habe es auch auf einem anderen rechner veruscht zu kompilieren bekomm dort aber genau den selben Fehler. Es wäre wichtig dass ich diesen beheben kann

Gruß Unux
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #4 am: 05. März 2004, 11:53:06 »

Du postest mit Sicherheit die falsche Stelle vom Logfile.
Poste mal alles oder den relevanten Teil, bitte.
Das was du da beschreibst sind schon die Folgen - nicht die Ursache :wink:
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« Antwort #5 am: 15. März 2004, 18:10:34 »

Halo zusammen,
so, war ne Zeit lang weg, aber das Problem ist immer noch das gleiche :-)
Ok hier noch mal die ganzen Logs:

master:/etc/proftpd-1.2.9rc3# make
cd lib/ && make lib
make[1]: Entering directory `/etc/proftpd-1.2.9rc3/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/lib'
cd src/ && make src
make[1]: Entering directory `/etc/proftpd-1.2.9rc3/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/src'
cd modules/ && make modules
make[1]: Entering directory `/etc/proftpd-1.2.9rc3/modules'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/modules'
make[1]: Entering directory `/etc/proftpd-1.2.9rc3/lib/libcap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/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/log.o src/bindings.o src/scoreboard.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 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_tls.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lssl -lcrypto
modules/mod_tls.o: In function `tls_check_client_cert':
modules/mod_tls.o(.text+0x279): undefined reference to `ASN1_item_d2i'
modules/mod_tls.o(.text+0x3d4): undefined reference to `ASN1_item_free'
modules/mod_tls.o: In function `tls_renegotiate_timeout_cb':
modules/mod_tls.o(.text+0x4ed): undefined reference to `SSL_renegotiate_pending'
modules/mod_tls.o(.text+0x59d): undefined reference to `SSL_renegotiate_pending'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1

Ich hoff mal, dass ihr hiermit mehr anfangen könnt

Gruß Unux
Gespeichert
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« Antwort #6 am: 15. März 2004, 18:17:48 »

hi

Hier nochmal das Log nach einem make clean (es sind einige Stellen dabei die noch in Ordnung scheinen, danach kommt der Fehler):

gcc  -DLINUX  -I.. -I../include -I/usr/local/ssl/include/openssl -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_tls.o mod_cap.o
gcc  -DLINUX  -I.. -I../include -I/usr/local/ssl/include/openssl -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/modules'
make[1]: Entering directory `/etc/proftpd-1.2.9rc3/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/etc/proftpd-1.2.9rc3/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/log.o src/bindings.o src/scoreboard.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 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_tls.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lssl -lcrypto
modules/mod_tls.o: In function `tls_check_client_cert':
modules/mod_tls.o(.text+0x279): undefined reference to `ASN1_item_d2i'
modules/mod_tls.o(.text+0x3d4): undefined reference to `ASN1_item_free'
modules/mod_tls.o: In function `tls_renegotiate_timeout_cb':
modules/mod_tls.o(.text+0x4ed): undefined reference to `SSL_renegotiate_pending'
modules/mod_tls.o(.text+0x59d): undefined reference to `SSL_renegotiate_pending'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1

vielleicht findet ihr da den Fehler

Gruß Unux
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #7 am: 15. März 2004, 18:27:27 »

Hast du dieses ganze SSL-Geraffel installiert?
Ich glaube das braucht man.
Das mod_tls ist okay, oder haste da was dran rumgefummelt?
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« Antwort #8 am: 15. März 2004, 18:35:27 »

Also

ich habe installiert
openssl
libssl-dev
libssl0.9.6

an der mod_tls.c habe ich mal was geändert und Pfade gesetzt, das hat sich aber geändert nachdem ich mir das ganze Proftpd-Paket nochmal runtergeladen habe, es nochmals neu entpackt habe und nochmal configuriert habe

Aber der Fehler is immer noch der gleiche

Gruß Unux
Gespeichert
unux
ProFTPD
*
Offline Offline

Beiträge: 7


Profil anzeigen
« Antwort #9 am: 15. März 2004, 18:46:43 »

hi Leute,

ich weiss nicht was es war und warum es die ersten 10-Male nicht ging aber schaut es euch an:

make[1]: Entering directory `/root/proftpd-1.2.9/modules'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_tls.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_tls.o mod_cap.o
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/root/proftpd-1.2.9/modules'
make[1]: Entering directory `/root/proftpd-1.2.9/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/root/proftpd-1.2.9/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/log.o src/bindings.o src/scoreboard.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 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_tls.o  modules/module_glue.o -lsupp -lcrypt  -Llib/libcap -lcap  -lssl -lcrypto
cd utils/ && make utils
make[1]: Entering directory `/root/proftpd-1.2.9/utils'
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpcount.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c scoreboard.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpshut.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftptop.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c ftpwho.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -c misc.c
make[1]: Leaving directory `/root/proftpd-1.2.9/utils'
gcc -Llib  -o ftpcount utils/ftpcount.o utils/scoreboard.o
gcc -Llib  -o ftpshut utils/ftpshut.o
gcc -Llib  -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses -lsupp
gcc -Llib  -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp
master:~/proftpd-1.2.9#

scheint alles geklappt zu haben, naja so is dat Leben mit die Servers *gg*

Dank euch trotzdem für die Hilfe

Gruß Unux
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #10 am: 15. März 2004, 19:13:42 »

:hä?
Tja. So is das mit die Technik  :top)
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
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.068 Sekunden mit 16 Zugriffen.