Hi,

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

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

; loading system definition from /home/chaitanya/lisp/uffi-tests.asd into
; #<The ASDF0 package>
; Loading #P"/home/chaitanya/lisp/uffi-1.5.15/uffi-tests.asd".
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:

; [GC threshold exceeded with 28,454,808 bytes in use.  Commencing GC.]
; [GC completed with 18,391,968 bytes retained and 10,062,840 bytes freed.]
; [GC will next occur when at least 30,391,968 bytes are in use.]
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:
; registering #<SYSTEM UFFI-TESTS {58231BAD}> as UFFI-TESTS
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:
; Loading #P"/home/chaitanya/lisp/uffi-1.5.15/tests/rt.x86f".
; Loading #P"/home/chaitanya/lisp/uffi-1.5.15/tests/package.x86f".
; Loading #P"/home/chaitanya/lisp/uffi-1.5.15/tests/foreign-loader.x86f".


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

Restarts:
  0: [CONTINUE] Return NIL from load of
#P"/home/chaitanya/lisp/uffi-1.5.15/tests/foreign-loader.x86f".
  1: [RETRY   ] Retry performing #<LOAD-OP NIL {5847661D}> on
                #<CL-SOURCE-FILE "foreign-loader" {5831BD05}>.
  2: [ACCEPT  ] Continue, treating #<LOAD-OP NIL {5847661D}> on
                #<CL-SOURCE-FILE "foreign-loader" {5831BD05}> as
                having been successful.
  3: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

(SYSTEM::LOAD-OBJECT-FILE
 "/home/chaitanya/lisp/uffi-1.5.15/tests/uffi-c-test.so")
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/foreign.lisp.


On trying to load the .so file using sys::load-object-file function, I got -

0] (sys::load-object-file
"/home/chaitanya/lisp/uffi-1.5.15/tests/uffi-c-test.so")

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

I get similar errors while loading the other .so files. How do I get past this?
Thanks,

Chaitanya


Reply via email to