Skip to content

Instantly share code, notes, and snippets.

@a13x
Created February 22, 2016 09:09
Show Gist options
  • Save a13x/3b9cd364f842d7a812f1 to your computer and use it in GitHub Desktop.
Save a13x/3b9cd364f842d7a812f1 to your computer and use it in GitHub Desktop.
Linedit installation fail with SBCL 1.3.2 on OSX El Capitan
 ~/ sbcl --version
SBCL 1.3.2
 ~/ sbcl
This is SBCL 1.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (ql:quickload :linedit)
To load "linedit":
Load 1 ASDF system:
linedit
; Loading "linedit"
............; cc -m64 -I /opt/local/include/ -I/Users/a13x/quicklisp/dists/quicklisp/software/cffi_0.16.1/ -bundle -fPIC -o /Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/libosicat.dylib /Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/wrappers.c
debugger invoked on a CFFI-GROVEL:GROVEL-ERROR in thread #<THREAD "main thread" RUNNING {1002A747C3}>: External process exited with code 1.
Command was: "cc" "-m64" "-I" "/opt/local/include/" "-I/Users/a13x/quicklisp/dists/quicklisp/software/cffi_0.16.1/" "-bundle" "-fPIC" "-o" "/Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/libosicat.dylib" "/Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/wrappers.c"
Output was:
/Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/wrappers.c:113:10: warning: implicit declaration of function 'posix_fallocate' is invalid in C99 [-Wimplicit-function-declaration]
return posix_fallocate(fd, offset, length);
^
1 warning generated.
Undefined symbols for architecture x86_64:
"_posix_fallocate", referenced from:
_posix_fallocate_cffi_wrap in wrappers-a1129d.o
(maybe you meant: _posix_fallocate_cffi_wrap)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry PROCESS-OP on #<WRAPPER-FILE "osicat" "posix" "wrappers">.
1: [ACCEPT ] Continue, treating PROCESS-OP on #<WRAPPER-FILE "osicat" "posix" "wrappers"> as having been successful.
2: Retry ASDF operation.
3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
4: [ABORT ] Give up on "linedit"
5: Exit debugger, returning to top level.
(CFFI-GROVEL:GROVEL-ERROR "External process exited with code ~S.~@
Command was: ~S~{ ~S~}~@
Output was:~%~A" 1 "cc" ("-m64" "-I" "/opt/local/include/" "-I/Users/a13x/quicklisp/dists/quicklisp/software/cffi_0.16.1/" "-bundle" "-fPIC" "-o" "/Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/libosicat.dylib" "/Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/wrappers.c") "/Users/a13x/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/a13x/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/wrappers.c:113:10: warning: implicit declaration of function 'posix_fallocate' is invalid in C99 [-Wimplicit-function-declaration]
return posix_fallocate(fd, offset, length);
^
1 warning generated.
Undefined symbols for architecture x86_64:
\"_posix_fallocate\", referenced from:
_posix_fallocate_cffi_wrap in wrappers-a1129d.o
(maybe you meant: _posix_fallocate_cffi_wrap)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
")
0]
@khirbat
Copy link

khirbat commented Feb 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment