Dynamically Loading 64-bit library from 32-bit executable

  • Follow


On a Solaris 10 system, both sparc and x86, is it possible to
dynamically load (dlopen?) a 64-bit shared library from a 32-bit
application without getting a "wrong ELF class" error?

0
Reply kenkahn (50) 9/24/2007 5:55:57 PM

kenkahn <kenkahn@optonline.net> writes:

>On a Solaris 10 system, both sparc and x86, is it possible to
>dynamically load (dlopen?) a 64-bit shared library from a 32-bit
>application without getting a "wrong ELF class" error?

No; they are not compatible and cannot exist in the same addressspace.

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Reply Casper 9/24/2007 7:38:16 PM


1 Replies
506 Views

(page loaded in 0.523 seconds)

Similiar Articles:













7/24/2012 5:10:23 PM


Reply: