Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94747 - gtk+-2.4.9-r1 fails to link; can't find a symbol from media-libs/jpeg
Summary: gtk+-2.4.9-r1 fails to link; can't find a symbol from media-libs/jpeg
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 09:00 UTC by kevin
Modified: 2007-08-09 11:27 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 kevin 2005-06-01 09:00:38 UTC
I emerged media-libs/jpeg-6b-r4 and media-libs/tiff-3.7.1-r1, then tried to emerge gtk+-2.4.9-r1 
with the jpeg and tiff USE flags. the gtk+ build can't find a symbol it wants in jpeg though (I have 
collision protection on):

gcc -undefined dynamic_lookup -o .libs/im-viqr.so -bundle  .libs/imviqr.o  /usr/lib//libiconv.dylib /
usr/lib//libglib-2.0.dylib /usr/lib//libgmodule-2.0.dylib /usr/lib//libgobject-2.0.dylib /usr/lib//
libatk-1.0.dylib /usr/lib//libpango-1.0 /usr/lib//libpangox-1.0 /usr/lib//libpangoxft-1.0 /var/tmp/
portage/gtk+-2.4.9-r1/work/gtk+-2.4.9/gdk/.libs/libgdk-x11-2.0.dylib /var/tmp/portage/gtk
+-2.4.9-r1/work/gtk+-2.4.9/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib -L/usr/X11R6/lib /usr/lib//
libc.dylib /usr/lib//libm.dylib /usr/lib//libpthread.dylib -L/usr/lib /usr/lib//libintl.dylib ../../gdk-
pixbuf/.libs/libgdk_pixbuf-2.0.dylib ../../gdk/.libs/libgdk-x11-2.0.dylib ../../gtk/.libs/libgtk-
x11-2.0.dylib -lX11 /usr/lib/libpangoxft-1.0 /usr/lib/libpangox-1.0 /usr/lib/libpango-1.0 /usr/lib/
libatk-1.0.dylib /usr/lib/libgobject-2.0.dylib /usr/lib/libgmodule-2.0.dylib /usr/lib/libglib-2.0.dylib /
usr/lib/libiconv.dylib -lm/usr/lib/libintl.dylib
l d: warning multiple definitions of symbol _locale_charset
/usr/lib//libiconv.dylib(localcharset.o) definition of _locale_charset
/usr/lib//libintl.dylib(localcharset.o) definition of _locale_charset
creating im-viqr.la
(cd .libs && rm -f im-viqr.la && ln -s ../im-viqr.la im-viqr.la)
../../gtk/gtk-query-immodules-2.0 im-xim.la  im-am-et.la im-cedilla.la im-cyrillic-translit.la im-
inuktitut.la im-ipa.la im-thai-broken.la im-ti-er.la im-ti-et.la im-viqr.la > gtk.immodules
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/lib/libJPEG.dylib
make[3]: *** [gtk.immodules] Error 133
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.4.9-r1 failed.
!!! Function src_compile, Line 77, Exitcode 2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




macos-20041118
Portage 2.0.51.19 (default-darwin/macos/10.4, gcc-3.3, libsystem-7.1-r0, 8.1.0 Power Macintosh)
===============================================================
==
System uname: 8.1.0 Power Macintosh powerpc
Python:               [2.3.5 (#1, Mar 20 2005, 20:38:20)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  1.7.9-r1
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss jpeg libwww macos nls png ppc-macos tetex tiff userland_Darwin kernel_Darwin 
elibc_Darwin"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 kevin 2005-06-01 09:51:41 UTC
I tried to emerge gtk+ again, without the jpeg and tiff USE flags, and got the exact same error.
Comment 2 Fabian Groffen gentoo-dev 2005-09-10 07:10:41 UTC
>=gtk+2 needs >=automake-1.7.9
Comment 3 Fabian Groffen gentoo-dev 2007-08-09 11:27:06 UTC
this is a bit out of date, sorry.  Try gtk+-2.10.14 in prefix.