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

Raymond Toy <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
>>>>> "Chaitanya" == Chaitanya Gupta <[email protected]> writes:

    Chaitanya> Hi,

    Chaitanya> I am using CMUCL 19c on Linux, on an x86-64 machine. For example, when
    Chaitanya> I tried loading uffi-tests, I got this error -

    Chaitanya> * (asdf:oos 'asdf:load-op :uffi-tests)

[snip]
    Chaitanya> Error in function SYSTEM::LOAD-OBJECT-FILE:
    Chaitanya>    Can't open object
    Chaitanya> "/home/chaitanya/lisp/uffi-1.5.15/tests/uffi-c-test.so":
    Chaitanya> "/home/chaitanya/lisp/uffi-1.5.15/tests/uffi-c-test.so: cannot open
    Chaitanya> shared object file: No such file or directory"

First, does that file actually exist at the given path?

If so, did you compile the C file using the right options?  I don't
have an x86-64 box, so I don't know what the options would be, but
CMUCL is 32-bit only right now, so if your library is a 64-bit
library, that won't work.  I'm guessing about this part, though.

If everything seems to be ok, could you try the latest snapshot from
common-lisp.net?


Ray
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.