Re: Cannot load .so files on an x86-64 machine

Vladimir Sekissov <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
Good day,

raymond.toy> 
raymond.toy> >>>>> "Chaitanya" == Chaitanya Gupta <[email protected]> writes:
raymond.toy> 
raymond.toy>     Chaitanya> Hi,
raymond.toy> 
raymond.toy>     Chaitanya> I am using CMUCL 19c on Linux, on an x86-64 machine. For example, when
raymond.toy>     Chaitanya> I tried loading uffi-tests, I got this error -
raymond.toy> 
raymond.toy>     Chaitanya> * (asdf:oos 'asdf:load-op :uffi-tests)
raymond.toy> 
raymond.toy> [snip]
raymond.toy>     Chaitanya> Error in function SYSTEM::LOAD-OBJECT-FILE:
raymond.toy>     Chaitanya>    Can't open object
raymond.toy>     Chaitanya> "/home/chaitanya/lisp/uffi-1.5.15/tests/uffi-c-test.so":
raymond.toy>     Chaitanya> "/home/chaitanya/lisp/uffi-1.5.15/tests/uffi-c-test.so: cannot open
raymond.toy>     Chaitanya> shared object file: No such file or directory"

CMUCL-19c and UFFI work well for me on Linux-x86-64 (FedoraCore3).

You probably need to install all 32-userland including glibc-devel.
Then adding -m32 option to gcc should be enough.

Best Regards,
Vladimir Sekissov
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.