PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : vsftpd unter SuSE 10.0 64 Bit mit SSL Kompilieren



mode2k
14.08.07, 19:21
Hallo,

Ich möchte den vsftpd mit SSL nutzen. Die Version die bei SuSE10 dabei ist hat aber keinen SSL Support mit einkompiliert. So muss ich mir den vsftpd 2.0.5 selber kompieren.

Doch beim make tritt folgender Fehler auf:


gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
/lib/libcap.so.1: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1


Wer kann da helfen?

Viele Gruesse


Mode

drcux
15.08.07, 06:24
Du hast die 32bit libcap auf deinem System installiert...

mode2k
15.08.07, 09:20
Du meinst also wenn ich das hier
http://rpm.pbone.net/index.php3/stat/4/idpl/3709791/com/libcap-1.92-487.x86_64.rpm.html

installiere gehts?

edit:
habs nun getestet:

server:~ # rpm -i libcap-1.92-487.x86_64.rpm
package libcap-1.92-487 is already installed


Scheint also doch schon installiert zu sein....

drcux
15.08.07, 10:13
rpm -qa "libcap*"

du wirst auch die libcap-32bit finden...

mode2k
15.08.07, 10:45
Stimmt:

server:~ # rpm -qa "libcap*"
libcap-32bit-1.92-487
libcap-1.92-487


habe daher

rpm -i --force libcap-1.92-487.x86_64.rpm
ausgeführt aber der og. Fehler bleibt...

drcux
15.08.07, 13:34
Du hast doch gesagt, das du die x86_64 schon installiert hast, was soll da ein rpm -i --force libcap-1.92-487.x86_64.rpm bringen?
Ich sagte, du hast die 32bit libcap drauf, und siehe da:
libcap-32bit-1.92-487

Was sollst du also machen?

mode2k
15.08.07, 14:51
Also habe ich 2 libcaps drauf? Einmal die 32 und einmal die 64 Bit Version? Soll ich jetzt die 32 Bit Version deinstallieren? Gehe laufe ich dann nicht Gefahr dass das System nicht mehr laeuft wenn ich einfach Libs entferne?
Und warum stoert er sich daran, es gibt doch auch die 64 Bit Version parallel. `?

mode2k
15.08.07, 15:01
hab nun im locatelibs script der installation folgende Zeilen angepasst:
# Look for libcap (capabilities)
locate_library /lib64/libcap.so.1 && echo "/lib64/libcap.so.1";
locate_library /usr/lib64/libcap.so && echo "-lcap";


Die 64 also dazu, nachdem mir aufgefallen war dass es auch einen lib64 Ordner gibt. Nun ist kopilliert er fehlerfrei ;-)