From: <abd...@or...> - 2008-01-16 09:16:52
|
TJ Saunders <tj...@ca...> Sent by: pro...@li... 15/01/2008 20:09 Please respond to pro...@li... To pro...@li... cc Subject Re: [Proftpd-user] proftpd 1.3.1 : compilation failed with "wrongELF class: ELFCLASS64" > The ./config.perso end without pb but i had some warning : > > configure: WARNING: security/pam_modules.h: present but cannot be compiled > configure: WARNING: security/pam_modules.h: check for missing > prerequisite headers? > configure: WARNING: security/pam_modules.h: see the Autoconf documentation > configure: WARNING: security/pam_modules.h: section "Present But > Cannot Be Compiled" > configure: WARNING: security/pam_modules.h: proceeding with the > preprocessor's result > configure: WARNING: security/pam_modules.h: in the future, the compiler > will take precedence > configure: WARNING: ## ------------------------------------------ ## > configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## > configure: WARNING: ## ------------------------------------------ ## This is a different issue; see: http://sourceforge.net/mailarchive/forum.php?thread_name=FFD83F5BFE8FFB43BFD05446E63D90AC1152788A%40maserati.eu.tieto.com&forum_name=proftp-user > but the make command stop with this error : > > ld: fatal: file src/main.o: wrong ELF class: ELFCLASS64 > ld: fatal: File processing errors. No output written to proftpd > collect2: ld returned 1 exit status > *** Error code 1 > make: Fatal error: Command failed for target `proftpd' This suggests that the libraries being linked (including OpenSSL and OpenLDAP, for the mod_tls and mod_ldap modules) were built 32-bit, and the proftpd code just compiled was 64-bit -- hence the linker error. I have compile openssl and openldap on 64bits just before and when i take a look on binaries and libraries i had : [root@naruto :/openssl/bin ] :# file openssl openssl: ELF 64-bit MSB executable SPARCV9 Version 1, UltraSPARC1 Extensions Required, dynamically linked, not stripped [root@naruto :/openssl/lib ] :# file libssl.so libssl.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, UltraSPARC1 Extensions Required, dynamically linked, not stripped Th same results , i had, with openldap Abdelmounim TJ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The world is not to be put in order; the world is order, incarnate. It is for us to harmonize with this order. -Henry Miller ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ ProFTPD Users List <pro...@pr...> Unsubscribe problems? http://www.proftpd.org/list-unsub.html |