For Programmers: Free Programming Magazines  


Home > Archive > Lisp > December 2007 > CFFI problem with asdf-install









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CFFI problem with asdf-install
Chanwoo Yoo

2007-12-25, 10:13 pm

I tried to install CFFI by using asdf in Leopard + SBCL and Ubuntu
7.10 + SBCL. Same errors occur in the both environment. I just
selected "accept" several times, but I worry whether it causes some
problem later. Though I searched in this group, I could not find any
threads about "libtest". Thanks in advance for any help.

Unable to load any of the alternatives:
("libtest.so" "libtest32.so")
[Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

Restarts:
0: [RETRY] Try loading the foreign library again.
1: [USE-VALUE] Use another library instead.
2: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {10050FC6D1}> on
#<ASDF:CL-SOURCE-FILE "bindings" {1005E770F1}>.
3: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {10050FC6D1}> on
#<ASDF:CL-SOURCE-FILE "bindings" {1005E770F1}> as having been
successful.
4: [RETRY] Retry installation
5: [RETRY] Retry installation
6: [RETRY] Retry installation
7: [ABORT] Return to SLIME's top level.
8: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-
thread" {1003B33CF1}> )
Chanwoo Yoo

2007-12-26, 4:26 am

Ah, I could not find threads about "libtest.so", not "libtest".


Luís Oliveira

2007-12-26, 8:09 am

Chanwoo Yoo <chlorinde@gmail.com> writes:
> I tried to install CFFI by using asdf in Leopard + SBCL and Ubuntu
> 7.10 + SBCL. Same errors occur in the both environment. I just
> selected "accept" several times, but I worry whether it causes some
> problem later. Though I searched in this group, I could not find any
> threads about "libtest". Thanks in advance for any help.
>
> Unable to load any of the alternatives:
> ("libtest.so" "libtest32.so")
> [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]


That is asdf-install trying to compile the CFFI test suite. By then,
CFFI is already compiled and loaded so you do have CFFI up and running,
ready to be used.

Why cffi-tests is not working for you I'm not sure. I'd need to look at
the errors that presumably precede that one, but most likely it fails to
compile libtest.c. Do you have ‘make’ and a C compiler installed?

By the way, the cffi-devel mailing list is a better place for this sort
of stuff.

--
LuÃ_s Oliveira
http://student.dei.uc.pt/~lmoliv/
Chanwoo Yoo

2007-12-27, 8:09 am

Yes, I have GNU make and gcc. I also send an email to the cffi-devel
mailing list, and I am waiting for replies. Thanks for your help. :)

On 12=EC=9B=9426=EC=9D=BC, =EC=98=A4=ED=9B=849=EC=8B=9C10=EB=B6=84,
luis.oli=
ve...@deadspam.com (Lu=C3=ADs Oliveira) wrote:
> Chanwoo Yoo <chlori...@gmail.com> writes:
>
>
> That is asdf-install trying to compile the CFFI test suite. By then,
> CFFI is already compiled and loaded so you do have CFFI up and running,
> ready to be used.
>
> Why cffi-tests is not working for you I'm not sure. I'd need to look at
> the errors that presumably precede that one, but most likely it fails to
> compile libtest.c. Do you have =E2=80=98make=E2=80=99 and a C compiler in=

stalled?
>
> By the way, the cffi-devel mailing list is a better place for this sort
> of stuff.
>
> --
> Lu=C3=ADs Oliveirahttp://student.dei.uc.pt/~lmoliv/


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com