Problem with ECL (embeddable common lisp) 12.2.1 on Lion

Ryan Schmidt ryandesign at
Wed Jul 18 17:10:21 PDT 2012

On Jul 18, 2012, at 09:02, Robert Goldman wrote:

>> That'd be a legitimate port bug, yes.  File a ticket against ecl; in the
>> meantime if you rebuild it with "sudo port -n -f upgrade ecl" it should
>> pick up the updated libffi.
> Actually, FWIW, that upgrade command did not fix ecl.
> My attempt to run it yielded
> --->  Scanning binaries for linking errors: 100.0%
> --->  No broken files found.

So that should have fixed ecl so that it links with the current version of libffi.

> and then
> ;;; Loading
> "/Users/rpg/lisp/asdf/tmp/fasls/ecl-12.2.1-unknown-macosx-x86/test/file3.fas"
> LOAD: Could not load file
> #P"/Users/rpg/lisp/asdf/tmp/fasls/ecl-12.2.1-unknown-macosx-x86/test/file3.fas"
> (Error:
> "dlopen(/Users/rpg/lisp/asdf/tmp/fasls/ecl-12.2.1-unknown-macosx-x86/test/file3.fas,
> 10): Library not loaded: /opt/local/lib/libffi.5.dylib
>  Referenced from:
> /Users/rpg/lisp/asdf/tmp/fasls/ecl-12.2.1-unknown-macosx-x86/test/file3.fas
>  Reason: image not found")

I don't know what /Users/rpg/lisp/asdf/tmp/fasls/ecl-12.2.1-unknown-macosx-x86/test/file3.fas is, but that is what is referencing libffi, and that is what needs to be rebuilt now.

> I have reported the issue on trac:

Thanks; the ecl port does need to have some dependencies added.

More information about the macports-users mailing list