Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145948 - libpng-1.2.12-r1 mess
Summary: libpng-1.2.12-r1 mess
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 23:07 UTC by Allar Õunapuu
Modified: 2006-09-02 02:23 UTC (History)
0 users

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 Allar Õunapuu 2006-09-01 23:07:49 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060710 Firefox/1.5.0.4
Build Identifier: 

After upgrading into libpng-1.2.12-r1 I have got several errors from specific
programs. Most importantly - gdm is not working. Realplayer gives error:
/opt/RealPlayer/realplay.bin: symbol lookup error:
/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: undefined symbol:
png_create_read_struct_2

My python-code, which uses wx-module gives:
ImportError: /usr/lib/libcairo.so.2: undefined symbol: png_set_gray_1_2_4_to_8

and gmplayer:
gmplayer: relocation error: gmplayer: symbol png_create_read_struct, version
PNG12_0 not defined in file libpng12.so.0 with link time reference

ect
After I downgrade to libpng-libpng-1.2.8-r1, all those errors disappear

Reproducible: Always

Steps to Reproduce:
1.uncomment line >media-libs/libpng-1.2.8-r1 from /etc/portage/package.mask
2.emerge libpng
3.gmplayer

Actual Results:  
error


Gentoo Base System version 1.12.4
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4,
2.6.17-gentoo-r7-2006-6 i686)
=================================================================
System uname: 2.6.17-gentoo-r7-2006-6 i686 AMD Sempron(tm) 2500+
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/home/allar/portage/PORTDIR/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="et_EE.UTF-8"
LC_ALL="et_EE.UTF-8"
LINGUAS="et en"
MAKEOPTS="-j2"
PKGDIR="/home/allar/portage/PKGDIR"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/allar/portage/PORTAGE_TMPDIR"
PORTDIR="/home/allar/portage/PORTDIR"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader
dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 imlib ipv6 isdnlog jack jpeg kde libg++ libwww mad mikmod motif mp3 mpeg
ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png pppd python
qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype
truetype-fonts type1-fonts udev unicode utf8 vorbis xml xmms xorg xv zlib
elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_et
linguas_en userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 01:07:31 UTC
- Your python code is your problem
- nothing we could do w/ realplayer, you need to complain upstream
- how about trying to recompile mplayer (and upgrading to the latest stable version) at least?)
- no info about the gdm problem
- don't file summary bugs about unrelated ebuilds.
Comment 2 Allar Õunapuu 2006-09-02 02:23:26 UTC
(In reply to comment #1)
> - Your python code is your problem
> - nothing we could do w/ realplayer, you need to complain upstream
> - how about trying to recompile mplayer (and upgrading to the latest stable
> version) at least?)
> - no info about the gdm problem
> - don't file summary bugs about unrelated ebuilds.
> 
If wxPython code works with libpng-1.2.8-r1 and gives errors with libpng-1.2.12-r1, what kind of bugs I'm urged to look at?
error: 
/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so: undefined symbol:
png_create_read_struct_2

I tried to re-emerge gtk+-2.8.20-r1 and got error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org

I have pango-1.12.3 installed. When I re-install pango, then there will problem with pangocairo.so. This means, that I must downgrade libpng and reinstall both pango and cairo for re-establishing pangocairo.so

I tried to re-emerge mplayer-1.0_pre8 with errors connected to png:
//
/usr/lib/libcairo.so: undefined reference to `png_set_palette_to_rgb'
/usr/lib/libcairo.so: undefined reference to `png_set_write_fn'
/usr/lib/libcairo.so: undefined reference to `png_set_tRNS_to_alpha'
/usr/lib/libcairo.so: undefined reference to `png_set_write_user_transform_fn'
/usr/lib/libcairo.so: undefined reference to `png_convert_from_time_t'
/usr/lib/libcairo.so: undefined reference to `png_read_update_info'
//
Tried to re-emerge cairo-1.0.4, got errors connected to png:
//read-png.c:(.text+0x12e): undefined reference to `png_create_read_struct'
read-png.c:(.text+0x141): undefined reference to `png_create_info_struct'
read-png.c:(.text+0x15e): undefined reference to `png_init_io'
read-png.c:(.text+0x16d): undefined reference to `png_set_sig_bytes'
read-png.c:(.text+0x1c4): undefined reference to `png_get_IHDR'
read-png.c:(.text+0x20a): undefined reference to `png_get_valid'
read-png.c:(.text+0x255): undefined reference to `png_set_bgr'
read-png.c:(.text+0x270): undefined reference to `png_set_filler'
read-png.c:(.text+0x285): undefined reference to `png_set_read_user_transform_fn'
//