Subject: | |
From: | |
Reply To: | |
Date: | Mon, 4 Feb 2008 09:39:10 -0600 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Fri, 1 Feb 2008, Wenji Wu wrote:
>> Is there a reason you don't want to use a prebuilt binary? If not, try:
>>
>> yum install vsftpd
>>
>> It's in the sl-base repository and installed fine for me.
>>
>> Installed: vsftpd.i386 0:2.0.5-10.el5
>>
>
> Thanks,
>
> The binary does not work for my case. I am working on a research project, and need to modify the vsftp code.
>
> wenji
>
You have a 32 vs 64 bit conflict.
You need to tell the make that you want to build a 64 bit binary.
-connie
>
>>
>>
>> On Fri, 2008-02-01 at 17:14 -0600, Wenji Wu wrote:
>>> Hi, I got some problem to install vsftpd on my system, any thought?
>> thanks in advance.
>>>
>>> My system is:
>>> [root@wan-koi vsftpd-2.0.5]# uname -a
>>> Linux wan-koi.fnal.gov 2.6.20 #52 SMP PREEMPT Tue Jan 15 15:49:20
>> CST 2008 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> Building Problem is:
>>> .................................................................................................
>>> [root@wan-koi vsftpd-2.0.5]# make
>>> gcc -c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c utility.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c prelogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c postlogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c privsock.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c tunables.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c ftpdataio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c secbuf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c ls.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c postprivparent.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c logging.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c str.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c netstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c sysstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c strlist.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c banner.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c filestr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c parseconf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c secutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c ascii.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c oneprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c twoprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c privops.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c standalone.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c hash.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c ipaddrparse.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c access.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c features.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c readwrite.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c ssl.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c sysutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
>>> 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/libpam.so.0: could not read symbols: File in wrong format
>>> collect2: ld returned 1 exit status
>>> make: *** [vsftpd] Error 1
>>> ..........................................................................................................................
>>>
>>> thanks,
>>>
>>> wenji
>>
>
|
|
|