[cffi-devel] how to debug CFFI:LOAD-FOREIGN-LIBRARY-ERROR
Tamas K Papp
tpapp at Princeton.EDU
Mon Apr 21 14:18:41 UTC 2008
Hi,
After recently upgrading my Cairo deb packages, I am getting this
error message when tryign to load the library via CFFI:
Unable to load foreign library (NIL).
Error opening shared object "libcairo.so":
/usr/lib/libcairo.so: undefined symbol: pixman_format_supported_destination.
[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 {AFF2349}> on #<ASDF:CL-SOURCE-FILE "cairo" {AFD70B9}>.
3: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {AFF2349}> on #<ASDF:CL-SOURCE-FILE "cairo" {AFD70B9}> as having been successful.
4: [ABORT] Return to SLIME's top level.
5: [TERMINATE-THREAD] Terminate this thread (#<THREAD "worker" {B4A26A1}>)
Backtrace:
0: (CFFI::FL-ERROR "Unable to load foreign library (~A).~% ~A")
1: (CFFI::LOAD-FOREIGN-LIBRARY-PATH NIL "libcairo.so")
2: (CFFI:LOAD-FOREIGN-LIBRARY (:DEFAULT "libcairo"))
Before filing a bug report, I would like to find out what this means
(I am pretty clueless about shared libraries). Does it mean that
someone who compiled a library made a mistake, or should I load
another library with this symbol in CFFI, etc. Sorry for the dumb
question, but I don't know where to start.
Tamas
More information about the cffi-devel
mailing list