Hello,
I am trying to compile mod_perl-2.0.4 for Apache httpd-2.2.17 on Solaris10
SunOS 5.10 Generic_141414-10 sun4v sparc SUNW,SPARC-Enterprise-T5120
I am facing ld: wrong ELF class: ELFCLASS64 problem.
Everyting was compiled in m -64 mode, generated .so 64bit, with export CC="gcc
-m64"
When
The error means you are trying to link a 64 bit library with a 32 bit one,
at link time (the error comes from ld, which is the linker).
Setting -L in CFLAGS sets /usr/sfw/lib/sparcv9 at compile (not link time)
Setting -R in CFLAGS sets /usr/sfw/lib/sparcv9 at run time.
None of these help with lin