[Buildroot] [PATCH 2/2] vsftpd: fix SSL dependency

Peter Korsgaard jacmet at uclibc.org
Fri Mar 16 21:23:50 UTC 2012


>>>>> "yegorslists" == yegorslists  <yegorslists at googlemail.com> writes:

 yegorslists> From: Yegor Yefremov <yegorslists at googlemail.com>
 yegorslists> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>

Can you be a bit more specific about what this fixes? I just did a test
with the default BR (arm926t) toolchain and it works here without it:

/home/peko/source/buildroot/output/host/usr/bin/arm-linux-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 opts.o ssl.o sslslave.o
ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o -Wl,-s -lcrypt -lssl

..

./output/host/usr/bin/arm-linux-readelf -a output/build/vsftpd-2.3.5/vsftpd |grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libcrypt.so.0]
 0x00000001 (NEEDED)                     Shared library: [libssl.so.1.0.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.1.0.0]

So it end up with the libcrypto reference without explicitly linking
with it.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list