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
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