Here it is (the backtrace):
* (load-foreign "/usr/lib/libPlayer.so")
;;; Running /usr/bin/ld...
Error in function SYSTEM::LOAD-OBJECT-FILE:
Can't open object "/tmp/18501AG1300": NIL
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(SYSTEM::LOAD-OBJECT-FILE "/tmp/18501AG1300")
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer
exists:
target:code/foreign.lisp.
0] ba
0: (SYSTEM::LOAD-OBJECT-FILE "/tmp/18501AG1300")
1: (LOAD-FOREIGN "/usr/lib/libPlayer.so" :LIBRARIES ("-lc") :BASE-FILE ...)
2: (INTERACTIVE-EVAL (LOAD-FOREIGN "/usr/lib/libPlayer.so"))
3: (LISP::%TOP-LEVEL)
4: ((LABELS LISP::RESTART-LISP
SAVE-LISP))
0]
Why it search a file in /tmp ???
Gerardo
---------------------------------------------------------
Eric Marsden wrote:
>>>>>>"gms" == Gerardo M Sarria M <[EMAIL PROTECTED]> writes:
>>>>>>
>>>>>>
>
> gms> Does anybody knows if there is a problem with load-foreign when using
> gms> linux with glibc 2.3?
> gms> Because trying to use Midishare, when I call
> gms>
> gms> (load-foreign "/usr/lib/libPlayer.so")
> gms>
> gms> it shows an error message..... but it only happens in a machine with
> gms> glibc 2.3 (with 2.2 it works).
>
>could you tell us exactly which error you are seeing? It would also
>be useful to see a lisp backtrace.
>
>I haven't noticed any particular problems using glibc 2.3, but then I
>build my binaries on a glibc 2.3 machine too.
>
>
>