unable to load shared object wrong ELF class: ELFCLASS32

I have a linux server with x86_64.

I'm compiling an R code that needs to load a bibliblioteca. When I run this code it displays the following error has:

Error in dyn.load ("functions.so"):
Unable to load shared object 'functions.so':
functions.so': wrong ELF class: ELFCLASS32
1

1 Answer

I'm not sure where you got functions.so from, but the problem is that it is a 32-bit library, and you are trying to load it into a 64-bit process. You need a 64-bit version of the library, or presumably the 32-bit version of R.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like