Op maandag 4 februari 2019 05:50:03 CET schreef Marc Chamberlin:
Hi - I am wanting to track down and grok a really bad error message in vsftpd which I and a lot of other folks (as reported by Google) are having troubles with. So I decided to try and compile it from source but I ran into a snag, the loader is complaining about the symbols in libpam.so.0 I have verified that the x32 and x64 bit versions of libpam are installed as well as the developer packages. Any gurus around who know why I am getting this belly ache?
For reference - OpenSuSE Leap 15.0 x64 bit system.
I downloaded the source files for vsftpd as follows -
First I determined the package info -
marc@bigbang:~/vsftpd> rpm -q --qf '%{disturl}\n' vsftpd obs://build.opensuse.org/openSUSE:Maintenance:8566/openSUSE_Leap_15.0_Update /89aacae22103943e0d60bcb0d3c2b665-vsftpd.openSUSE_Leap_15.0_Update
Then use this info with osc to get the source code -
marc@bigbang:~/vsftpd> osc co -r 89aacae22103943e0d60bcb0d3c2b665 openSUSE:Maintenance:8566 vsftpd.openSUSE_Leap_15.0_Update
I made a #define change in one of the header files to include SSL support (as directed in the documentation) which is the area I am having troubles with. After a few iterations with make clean and make to determine and install missing libraries (wish there was an easier way to determine what libraries/packages are necessary for compiling a given package) I got this far -
marc@bigbang:~/vsftpd/openSUSE:Maintenance:8566/vsftpd.openSUSE_Leap_15.0_Up date/vsftpd-3.0.3> make makeobj[0]: Entering directory `/home/marc/vsftpd/openSUSE:Maintenance:8566/vsftpd.openSUSE_Leap_15.0_Updat e/vsftpd-3.0.3' gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio. 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 seccompsandbox.o -Wl,-s -fPIE -pie -Wl,-z,relro -Wl,-z,now `./vsf_findlibs.sh` /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /lib/libpam.so.0: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status gmake: *** [Makefile:29: vsftpd] Error 1
And I am stuck, dunno what is ailing libpam.so.0 and what to do about it... Suggestions? Thanks Marc Is pam-devel installed?
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org