[Ecls-list] loading using CFFI does not work

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Wed Jan 19 20:48:02 UTC 2011


How do you load those libraries? No hints about their versions? Even better,
have you tried using quicklisp? Works for me on OS X and Ubuntu/x86_64

$ ecl
;;; Loading "/Users/jjgarcia/quicklisp/setup.lisp"
;;; Loading #P"/Users/jjgarcia/lib/ecl-11.1.1/cmp.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-11.1.1/asdf.fas"
ECL (Embeddable Common-Lisp) 11.1.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
> (ql:quickload "sqlite")
To load "sqlite":
  Load 1 ASDF system:
    sqlite
; Loading "sqlite"

("sqlite")
> (ql:quickload "hunchentoot")
To load "hunchentoot":
  Load 1 ASDF system:
    hunchentoot
; Loading "hunchentoot"

("hunchentoot")


On Wed, Jan 19, 2011 at 8:42 PM, Antony <lisp.linux at gmail.com> wrote:

> Coincidentally I tried downloading, building ECL today (hadn't seen the
> 11.1.1 announcement). After a couple of hiccups I got it to work. This
> is the first time I have tried to use ECL seriously.
> I am using (trying to) cl-sqlite and hunchentoot among others. With both
> of them the libs are not getting loaded
>
> I get error
> An error occurred during initialization:
> Unable to load any of the alternatives:
>    ("libssl.so.0.9.8" "libssl.so" "libssl.so.4"); Evaluation aborted on
> #<a CFFI:LOAD-FOREIGN-LIBRARY-ERROR>.
>
>
> An error occurred during initialization:
> Unable to load any of the alternatives:
>    ("libsqlite3.so.0" "libsqlite3.so"); Evaluation aborted on #<a
> CFFI:LOAD-FOREI..
>
> I know those libs are present and they work, cause so far I have been
> using clozure CL 64 bit.
>
> Here is my environment
>
> $ ecl
> ECL (Embeddable Common-Lisp) 11.1.1
> ...
>  > *features*
>
> (:LINUX :FORMATTER :LONG-LONG :UINT64-T :UINT32-T :UINT16-T
>  :RELATIVE-PACKAGE-NAMES :LONG-FLOAT :UNICODE :CLOS-STREAMS :CMU-FORMAT
> :UNIX
>  :ECL-PDE :DLOPEN :CLOS :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
>  :IEEE-FLOATING-POINT :PREFIXED-API :FFI :X86_64 :COMMON :ECL)
>
> uname -a
> Linux xed01 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010
> x86_64 x86_64 x86_64 GNU/Linux
>
> What can I do?
> -Antony
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110119/b281b0f2/attachment.html>


More information about the ecl-devel mailing list