[cffi-devel] how to debug CFFI:LOAD-FOREIGN-LIBRARY-ERROR

Stelian Ionescu sionescu at common-lisp.net
Mon Apr 21 14:40:45 UTC 2008


On Mon, Apr 21, 2008 at 10:18:41AM -0400, Tamas K Papp wrote:
>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.

perhaps you're missing libpixman, or you have an old version: on my system
libcairo.so is linked to /usr/lib/libpixman-1.so.0 which contains that
symbol.
To view the list of ELF symbols in a library you can use objdump -T

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20080421/d76b2823/attachment.sig>


More information about the cffi-devel mailing list