Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229755 - /usr/lib/libcairo.so.2: undefined symbol: pixman_format_supported_destination
Summary: /usr/lib/libcairo.so.2: undefined symbol: pixman_format_supported_destination
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 13:24 UTC by Alan Hourihane
Modified: 2008-09-02 13:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2008-06-27 13:24:43 UTC
Not sure what update caused this, but I'm now getting this....

When I try oowriter,,,,

/usr/lib/openoffice/program/soffice.bin: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: pixman_format_supported_destination

When I try evince...

evince: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: pixman_format_supported_destination

Tried re-emergeing libcairo and libpixman and it doesn't cure it.



Reproducible: Always
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 13:55:17 UTC
`emerge --info` output missing
Comment 2 Rafał Mużyło 2008-06-27 13:58:49 UTC
In what order did you re-emerged those libs ?
My libpixman has that symbol,
but I've got the masked 0.11.4-r1 version.
There's a possibility, that this symbol was recently added,
if that's the case, you'd have to either unmask 0.11.4-r1 or re-emerge openoffice.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-06-27 13:59:09 UTC
$ strings /usr/lib64/libcairo.so.2 | grep pixman_format_supported
pixman_format_supported_destination

Works for me...

emerge --info along with specifics on cairo versions and pixman versions being used.
Comment 4 Alan Hourihane 2008-06-27 14:26:53 UTC
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: 2.6.24-tuxonice-r9 i686 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Timestamp of tree: Fri, 27 Jun 2008 01:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=nocona -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=nocona -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com"
LANG="C"
LINGUAS="en en_GB"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://server/gentoo-portage"
USE="X a52 accessibility acl acpi alsa berkdb bluetooth bzip2 cli cracklib crypt css cups curl dbus dri dvd dvdread encode extrafilters fortran frontendonly gdbm gnome gpm gtk hal iconv imagemagick imlib isdnlog java jpeg libnotify midi mjpeg mmx mp2 mp3 mpeg mudflap mysql ncurses nls nntp nptl nptlonly nsplugin opengl openmp pam pcre perl png ppds pppd python readline reflection session spell spl sse sse2 ssl ssse3 tcpd threads tiff tk unicode usb win32codecs x264 x86 xanin xinerama xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="i810 sisusb"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Alan Hourihane 2008-06-27 14:27:26 UTC
The symbol doesn't exist and I'm using pixman 0.10.0 which is the current stable release.
Comment 6 Alan Hourihane 2008-06-27 14:27:38 UTC
reopening
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-06-27 14:30:38 UTC
Still no idea what cairo you're using. The USE flags cairo and pixman were built with..
Comment 8 Alan Hourihane 2008-06-27 14:31:59 UTC
emerge -p cairo pixman

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/pixman-0.10.0  
[ebuild   R   ] x11-libs/cairo-1.6.4  
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2008-06-27 14:32:06 UTC
Additionally, ldd /usr/lib/libcairo.so.2
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2008-06-27 14:32:22 UTC
emerge -pv cairo pixman
Comment 11 Alan Hourihane 2008-06-27 14:32:41 UTC
emerge -pv cairo pixman

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/pixman-0.10.0  USE="-debug" 0 kB 
[ebuild   R   ] x11-libs/cairo-1.6.4  USE="X opengl -debug -directfb -doc -glitz -svg -test -xcb" 0 kB 

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Comment 12 Alan Hourihane 2008-06-27 14:33:21 UTC
ldd /usr/lib/libcairo.so.2.17.5 
	linux-gate.so.1 =>  (0xb7f89000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e8c000)
	libz.so.1 => /lib/libz.so.1 (0xb7e7c000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7e56000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7e38000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7e2e000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d5a000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb7d38000)
	libm.so.6 => /lib/libm.so.6 (0xb7d12000)
	libc.so.6 => /lib/libc.so.6 (0xb7be2000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7bc5000)
	libXau.so.6 => /ISO/X.Org/modular/i386/lib/libXau.so.6 (0xb7bc1000)
	libXdmcp.so.6 => /ISO/X.Org/modular/i386/lib/libXdmcp.so.6 (0xb7bbc000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7bb8000)
	/lib/ld-linux.so.2 (0x80000000)
Comment 13 Alan Hourihane 2008-06-27 14:36:14 UTC
Ugh, seems like a local problem. Ignore this.
Comment 14 Jaguar 2008-09-01 04:24:11 UTC
I've found what seems to cause this error. I had the same problem.
Make sure you uninstall your old cairo and pixman before you install the new one.
I had the old cairo and pixman in /usr/lib and the new ones in /usr/local/lib.
I removed the old, reinstalled the new and ran ldconfig and everything was solved
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2008-09-02 13:34:38 UTC
Gentoo never installs anything to /usr/local/lib, any files you have in there are from doing manual installations on your own.