tags:

views:

131

answers:

2

On a 64bit Solaris Sparc system, can an Apache Server built in 64bit mode load a 32 bit plug-in?

A: 

On no sensible system 64-bit binary cannot load 32-bit shared library. They might pass pointers around, you know.

EFraim
+1  A: 

No, it is not possible. When a 64 bit process tries to load a 32 bit shared object, the runtime linker gives the following error:

ld.so.1: app: fatal: ./lib32.so: wrong ELF class: ELFCLASS32

R Samuel Klatchko