googleearth is not able to run because on an up-to-date gentoo system some of it's dependencies apparently don't get resolved properly. I wonder why it tries to resolve a libssl symbol in libldap though... %-) BTW the package should IMHO be renamed to "googleearth-bin". Reproducible: Always Actual Results: $ ./googleearth ./googleearth-bin: symbol lookup error: /usr/lib/libldap-2.3.so.0: undefined symbol: SSL_CTX_set_info_callback $ ldd googleearth-bin linux-gate.so.1 => (0xb7faa000) ./libbase.so (0xb7efe000) ./libcomponent.so (0xb7ee7000) ./libfusion.so (0xb7ee2000) ./libgeobase.so (0xb7b7c000) ./libmath.so (0xb7b61000) ./libwmsbase.so (0xb7afb000) ./libnet.so (0xb7ab1000) ./libalchemyext.so (0xb7aac000) ./libcollada.so (0xb7753000) ./libgoogleearth.so (0xb75e6000) libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7512000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb73bf000) libcurl.so.3 => not found libfreeimage.so.3 => not found libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb73b4000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb738c000) libmng.so.1 => /usr/lib/libmng.so.1 (0xb731a000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb72f5000) libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0xb6c15000) libqui.so.1 => /usr/qt/3/lib/libqui.so.1 (0xb6be2000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb6b9a000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb6ab5000) libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb6a5d000) libz.so.1 => /lib/libz.so.1 (0xb6a3f000) ./libIGCore.so (0xb6948000) ./libIGGfx.so (0xb6890000) ./libIGAttrs.so (0xb682d000) ./libIGDisplay.so (0xb6819000) ./libIGGui.so (0xb67d7000) ./libIGSg.so (0xb66c9000) ./libIGCollision.so (0xb66ba000) ./libIGMath.so (0xb6670000) ./libIGUtils.so (0xb6649000) ./libIGOpt.so (0xb656e000) ./libIGExportCommon.so (0xb64e6000) ./libcommon.so (0xb63e9000) ./librender.so (0xb638e000) ./libauth.so (0xb6303000) ./libframework.so (0xb62ec000) libm.so.6 => /lib/libm.so.6 (0xb62c6000) libc.so.6 => /lib/libc.so.6 (0xb6196000) libpthread.so.0 => /lib/libpthread.so.0 (0xb617e000) libGL.so.1 => //usr//lib/opengl/nvidia/lib/libGL.so.1 (0xb60da000) libdl.so.2 => /lib/libdl.so.2 (0xb60d6000) liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb609e000) libXi.so.6 => /usr/lib/libXi.so.6 (0xb6095000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb608a000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6083000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6078000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6075000) libXft.so.2 => /usr/lib/libXft.so.2 (0xb6055000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5fc5000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5f91000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb5f7e000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb5e7e000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb5e75000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb5e5c000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb5e2e000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb5da0000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb5d9c000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb5d70000) libresolv.so.2 => /lib/libresolv.so.2 (0xb5d5e000) /lib/ld-linux.so.2 (0xb7fab000) libjbig.so => /usr/lib/libjbig.so (0xb5d4c000) libGLcore.so.1 => //usr//lib/opengl/nvidia/lib/libGLcore.so.1 (0xb5237000) libnvidia-tls.so.1 => //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb5235000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb522f000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb50b3000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb50af000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb50a9000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb50a1000)
ldd is useless for similar stuff; use something like `readelf -d googleearth-bin | grep NEEDED` Wrt openldap, your openssl looks broken... $ readelf -s /usr/lib/libssl.so.0.9.8 | grep SSL_CTX_set_info_callback 599: 00030090 15 FUNC GLOBAL DEFAULT 10 SSL_CTX_set_info_callback
Plus, why does this thing install its own copies of the following? - dev-libs/openssl - media-libs/jpeg - media-libs/libmng - media-libs/libpng - media-libs/mesa - media-libs/tiff - net-misc/curl - sys-libs/zlib - x11-libs/qt - libstdc++.so.6, libgcc_s.so.1 CCing security here, we've had recent security bugs about curl, zlib, libpng etc. etc.
(In reply to comment #1) $ readelf -d /opt/googleearth/googleearth-bin | grep NEEDED 0x00000001 (NEEDED) Shared library: [./libbase.so] 0x00000001 (NEEDED) Shared library: [./libcomponent.so] 0x00000001 (NEEDED) Shared library: [./libfusion.so] 0x00000001 (NEEDED) Shared library: [./libgeobase.so] 0x00000001 (NEEDED) Shared library: [./libmath.so] 0x00000001 (NEEDED) Shared library: [./libwmsbase.so] 0x00000001 (NEEDED) Shared library: [./libnet.so] 0x00000001 (NEEDED) Shared library: [./libalchemyext.so] 0x00000001 (NEEDED) Shared library: [./libcollada.so] 0x00000001 (NEEDED) Shared library: [./libgoogleearth.so] 0x00000001 (NEEDED) Shared library: [libGLU.so.1] 0x00000001 (NEEDED) Shared library: [libcrypto.so.0.9.8] 0x00000001 (NEEDED) Shared library: [libcurl.so.3] 0x00000001 (NEEDED) Shared library: [libfreeimage.so.3] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libjpeg.so.62] 0x00000001 (NEEDED) Shared library: [libmng.so.1] 0x00000001 (NEEDED) Shared library: [libpng12.so.0] 0x00000001 (NEEDED) Shared library: [libqt-mt.so.3] 0x00000001 (NEEDED) Shared library: [libqui.so.1] 0x00000001 (NEEDED) Shared library: [libssl.so.0.9.8] 0x00000001 (NEEDED) Shared library: [libstdc++.so.6] 0x00000001 (NEEDED) Shared library: [libtiff.so.3] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [./libIGCore.so] 0x00000001 (NEEDED) Shared library: [./libIGGfx.so] 0x00000001 (NEEDED) Shared library: [./libIGAttrs.so] 0x00000001 (NEEDED) Shared library: [./libIGDisplay.so] 0x00000001 (NEEDED) Shared library: [./libIGGui.so] 0x00000001 (NEEDED) Shared library: [./libIGSg.so] 0x00000001 (NEEDED) Shared library: [./libIGCollision.so] 0x00000001 (NEEDED) Shared library: [./libIGMath.so] 0x00000001 (NEEDED) Shared library: [./libIGUtils.so] 0x00000001 (NEEDED) Shared library: [./libIGOpt.so] 0x00000001 (NEEDED) Shared library: [./libIGExportCommon.so] 0x00000001 (NEEDED) Shared library: [./libcommon.so] 0x00000001 (NEEDED) Shared library: [./librender.so] 0x00000001 (NEEDED) Shared library: [./libauth.so] 0x00000001 (NEEDED) Shared library: [./libframework.so] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] I doubt my openssl would be broken... It's a plain dev-libs/openssl-0.9.8g from portage with USE="kerberos sse2 zlib -bindist -emacs -gmp -test" and it's linked by a gazillion of apps so if it would be broken that would probably be exhibited elsewhere as well. Look: $ readelf -s /usr/lib/libssl.so.0.9.8 | grep SSL_CTX_set_info_callback 378: 00032ff0 17 FUNC GLOBAL DEFAULT 11 SSL_CTX_set_info_callback Somehow I believe it's rather googleearth that is broken... ;)
(In reply to comment #3) > (In reply to comment #1) > Somehow I believe it's rather googleearth that is broken... ;) Delete the stupid bundled openssl: rm -f /opt/googleearth/libcrypto.so.0.9.8 rm -f /opt/googleearth/libssl.so.0.9.8 and see if it works then.
(In reply to comment #4) Oh yes, that did the trick, it runs now! :) Theoretically I could also have used my brain myself... BTW later on, when I initiated a graceful exit from the program, it has crashed while exiting but that's very likely to be an upstream problem :)
(In reply to comment #5) > Oh yes, that did the trick, it runs now! :) What a surprise... This bundled stuff does more harm than good. Except for curl (which requires an old version) there's everything else available either in ebuilds mentioned in Comment #2 or in corresponding emul-* packages (emul-linux-x86-baselibs, emul-linux-x86-xlibs, emul-linux-x86-qtlibs), should depend on that instead and wipe the bundled libs.
but which libs are bundled and which not? Removing makes it not working for some people. I think for now it is best to just deliver what upstream gives us. Please stick to your workaround for now and reopen this bug if it occurs again in the next version :-)
(In reply to comment #7) > but which libs are bundled and which not? Removing makes it not working for > some people. I think for now it is best to just deliver what upstream gives us. > Please stick to your workaround for now and reopen this bug if it occurs again > in the next version :-) I've already provided an extensive list of bundled libs in Comment #2.
Just tried 4.3.7204.836. Problem persists, same solution still works.
(In reply to comment #8) > (In reply to comment #7) > > but which libs are bundled and which not? Removing makes it not working for > > some people. I think for now it is best to just deliver what upstream gives us. > > Please stick to your workaround for now and reopen this bug if it occurs again > > in the next version :-) > > I've already provided an extensive list of bundled libs in Comment #2. I think, he's rather concerned about how to ensure, that the right library versions are installed. Just recently curl got an update, and now we all have some nice libcurl.so.4 - but GoogleEarth depends on libcurl.so.3, i think. So not installing the bundled libraries is a pretty tough and error-prone thing to do. A package maintainer can't make sure, that people have a libcurl.so.3 on their system. On the other hand, i share you security-concerns, Jakub.
same problem for latest version alexxy@xeon ~ $ googleearth Google Earth has caught signal 11. Stacktrace from glibc: ./googleearth-bin [0x806c343] ./googleearth-bin [0x806c8b6] [0xf7fad400] /usr/lib32/libX11.so.6(XInitExtension+0x3b) [0x42c0796b] /usr/lib32/libXext.so.6(XextAddDisplay+0x53) [0x42af5f53] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1 [0x42da97a1] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1(__glXInitialize+0x1f) [0x42daa08f] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1(__glXSetupForCommand+0x4f) [0x42dab0af] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1 [0x42da7615] /opt/googleearth/libIGGfx.so(_ZN3Gap3Gfx18igOglVisualContext15setSwapIntervalEi+0x124) [0xf3bcaa34] /opt/googleearth/libIGGfx.so(_ZN3Gap3Gfx18igOglVisualContext4openEv+0x5c8) [0xf3beb358] /opt/googleearth/libevll.so(_ZN5earth4evll13VisualContext11OpenContextEN3Gap3Gfx25igRenderDestinationFormatERKNS0_8InitInfoE+0x101) [0xf37fda01] /opt/googleearth/libevll.so(_ZN5earth4evll13VisualContext4initERKNS0_8InitInfoE+0x22d) [0xf3808b6d] /opt/googleearth/libevll.so(_ZN5earth4evll17RenderContextImpl4initERKNS0_8InitInfoE+0x87) [0xf36d17a7] ./librender.so(_ZN12RenderWidget6SetApiEPN5earth4evll3APIE+0x47) [0xf6541e67] ./librender.so(_ZN5earth6render12RenderWindow12createWidgetEv+0xae) [0xf652192e] ./libgoogleearth_lib.so(_ZN5earth6client12ModuleWidget9showEventEP10QShowEvent+0x8e) [0xf6d9b14e] ./libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x7cf) [0xf770a15f] ./libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa8) [0xf76c8130] ./libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x122) [0xf76cf916] ./libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x9a) [0xf7db62f2] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x11f) [0xf770cfc3] ./libQtGui.so.4(_ZN14QWidgetPrivate14show_recursiveEv+0x7b) [0xf770cd0f] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x15c) [0xf770ce98] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb) [0xf770d4bb] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146) [0xf770ce82] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN14QWidgetPrivate14show_recursiveEv+0x7b) [0xf770cd0f] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x15c) [0xf770ce98] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb) [0xf770d4bb] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146) [0xf770ce82] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb) [0xf770d4bb] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146) [0xf770ce82] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb) [0xf770d4bb] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146) [0xf770ce82] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb) [0xf770d4bb] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146) [0xf770ce82] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42) [0xf770cee6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb) [0xf770d4bb] ./libQtGui.so.4(_ZN7QWidget10showNormalEv+0x4a) [0xf770280e] ./libgoogleearth_lib.so(_ZN10MainWindow18readScreensizeInfoEv+0xbfa) [0xf6d6c95a] ./libgoogleearth_lib.so(_ZN5earth6client11Application12SetupMainWinERK7QStringb+0x1f0) [0xf6dd5890] ./libgoogleearth_lib.so(_ZN5earth6client11Application3runEv+0x313) [0xf6dd65f3] ./googleearth-bin(main+0x286) [0x806cde6] /lib32/libc.so.6(__libc_start_main+0xe5) [0x4288d715] ./googleearth-bin [0x806bad1] We apologize for the inconvenience, but Google Earth has crashed. This is a bug in the program, and should never happen under normal circumstances. A bug report and debugging data are now being written to this text file: /home/alexxy/.googleearth/crashlogs/crashlog-C1269F28.txt This bug report will be sent to Google automatically next time you run Google Earth. Its data, which contains no personal information, will help us correct problems without bothering you further. If you would rather this info not be transmitted, please delete the above file before running the program again. If you want bug reports to NEVER be sent, remove the above 'crashlogs' directory's read/write permissions. Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-gentoo-2.0.0 Timestamp of tree: Mon, 04 May 2009 11:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=native -mtune=native -mfpmath=sse -msse4.1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -pipe -march=native -mtune=native -mfpmath=sse -msse4.1" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages gpg metadata-transfer parallel-fetch prelink preserve-libs protect-owned sandbox sfperms sign strict unmerge-orphans userfetch" FFLAGS="-O3 -pipe -march=native -mtune=native -mfpmath=sse -msse4.1" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed" LINGUAS="ru en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/science /usr/local/portage/layman/alexxy /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/overlays/portage /usr/local/overlays/cross" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi addressbook akonadi alsa amd64 amr amrnb amrr amrwb analogtv arpack avahi bash-completion berkdb bittorrent blas branding bzip2 cairo cdaudio cdinstall cdr cli consolekit context cracklib crypt cups curl cvs cyrillic d daap dbus detex dga dhcp dirac divx djvu dri dts dv dvb dvbplayer dvbsetup dvd dvdnav dvdr dvdread ebook embedded emboss enca encode evo exif extra fam fbcondecor ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm gif gimp git glib glitz gmedia gmp google-gadgets gpg gphoto2 gpm grace graphics graphviz gs gsl gstreamer gtk hal humanities hyperestraier iconv idn ieee1394 imagemagick inotify ipv6 isdnlog ithreads jadetex java javascript jpeg jpeg2k kde kdehiddenvisibility kipi kpathsea ladspa lapack latex lcms ldap libffi libnotify live lm_sensors lzo mad marble md5sum mdnsresponder-compat midi mikmod mktemp mmx mmxext mng mp2 mp3 mp4 mpeg mpi mpi-threads mplayer mudflap multilib music mysql ncurses nemesi nepomuk network-cron nls nptl nptlonly nsplugin ogg omega openal openexr opengl openmp pam pch pcntl pcre pdf perl phonon plasma plotutils plugins png pnm policykit postscript ppds pppd ps pstricks publishers python qt3support qt4 quicktime rar rdesktop readline realmedia redland reflection resolvconf rss rtc samba sandbox schroedinger science screen sdl semantic-desktop sensord session setup slang smp speex spell spl srt srtp sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcl tcpd tetex tex tex4ht themes theora threads thumbnail tiff tk tools truetype umfpack unicode urandom usb utempter v4l2 vde vdpau vhook vim vim-syntax visualization vorbis webdav webkit wmf wmp wxwindows x264 x86emu xattr xcb xcomposite xetex xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I have ARCH="amd64", but use an experimental multilib portage, which allows me to create 32bit libs, so far, the following ones can be used from system and dont need bundling: ldd googleearth-bin|grep lib32 libQtCore.so.4 => /usr/lib32/qt4/libQtCore.so.4 (0xf3879000) libQtGui.so.4 => /usr/lib32/qt4/libQtGui.so.4 (0xf3032000) libQtNetwork.so.4 => /usr/lib32/qt4/libQtNetwork.so.4 (0xf2f49000) libQtWebKit.so.4 => /usr/lib32/qt4/libQtWebKit.so.4 (0xf23a9000) libm.so.6 => /lib32/libm.so.6 (0xf2382000) libc.so.6 => /lib32/libc.so.6 (0xf223f000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf2227000) libz.so.1 => /lib32/libz.so.1 (0xf2212000) libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf220c000) librt.so.1 => /lib32/librt.so.1 (0xf2203000) libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf2129000) libdl.so.2 => /lib32/libdl.so.2 (0xf2124000) libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf20fe000) libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf2072000) libSM.so.6 => /usr/lib32/libSM.so.6 (0xf2069000) libICE.so.6 => /usr/lib32/libICE.so.6 (0xf2051000) libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf2046000) libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf203d000) libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf200f000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf1fff000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf1efd000) libphonon.so.4 => /usr/lib32/qt4/libphonon.so.4 (0xf1ebc000) libuuid.so.1 => /lib32/libuuid.so.1 (0xf1eb7000) libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf1e8e000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf1e8a000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf1e84000) Additionally, i can remove libcrypto.so.0.9.8 and libssl.so.0.9.8 and use the ones from my system (32bit).
Is this the same bug? x11-misc/googleearth-5.1.3533.1731-r1 Major Version 5 Minor Version 1 Build Number 3533 Build Date Nov 11 2009 Build Time 16:41:31 OS Type 11 OS Major Version 2 OS Minor Version 6 OS Build Version 32 OS Patch Version 0 Crash Signal 11 Crash Time 1264646080 Up Time 6.27702 Stacktrace from glibc: ./googleearth-bin[0x805caa6] [0xf7723400] /usr/lib32/libX11.so.6(XInitExtension+0x3b)[0xf570996b] /usr/lib32/libXext.so.6(XextAddDisplay+0x53)[0xf57ddf53] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1[0xf520f7a1] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1(__glXInitialize+0x1f)[0xf521008f] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1(__glXSetupForCommand+0x4f)[0xf52110af] //usr/lib32/opengl/xorg-x11/lib/libGL.so.1[0xf520d615] /opt/googleearth/libIGGfx.so(_ZN3Gap3Gfx18igOglVisualContext15setSwapIntervalEi+0x9e)[0xf306743e] /opt/googleearth/libIGGfx.so(_ZN3Gap3Gfx18igOglVisualContext4openEv+0x4e9)[0xf3085949] /opt/googleearth/libevll.so(_ZN5earth4evll13VisualContext11OpenContextEN3Gap3Gfx25igRenderDestinationFormatERKNS0_8InitInfoE+0xfb)[0xf2cdbb1b] /opt/googleearth/libevll.so(_ZN5earth4evll13VisualContext4initERKNS0_8InitInfoE+0x167)[0xf2cdbcc7] /opt/googleearth/libevll.so(_ZN5earth4evll17RenderContextImpl4initERKNS0_8InitInfoE+0x81)[0xf2be78a1] ./librender.so(_ZN12RenderWidget6SetApiEPN5earth4evll3APIE+0x47)[0xf5352817] ./librender.so(_ZN5earth6render12RenderWindow12createWidgetEv+0xa7)[0xf5339757] ./libgoogleearth_lib.so(_ZN5earth6client12ModuleWidget9showEventEP10QShowEvent+0x94)[0xf5fb16f4] ./libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x652)[0xf6dc4cc2] ./libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa8)[0xf6d80750] ./libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x126)[0xf6d883de] ./libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x70)[0xf74efdd4] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0xcc)[0xf6dc7d30] ./libQtGui.so.4(_ZN14QWidgetPrivate14show_recursiveEv+0x7b)[0xf6dc7acf] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x15c)[0xf6dc7c58] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb)[0xf6dc82e3] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0xf6dc7c42] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN14QWidgetPrivate14show_recursiveEv+0x7b)[0xf6dc7acf] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x15c)[0xf6dc7c58] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb)[0xf6dc82e3] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0xf6dc7c42] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb)[0xf6dc82e3] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0xf6dc7c42] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb)[0xf6dc82e3] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0xf6dc7c42] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb)[0xf6dc82e3] ./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0xf6dc7c42] ./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x42)[0xf6dc7ca6] ./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x3bb)[0xf6dc82e3] ./libQtGui.so.4(_ZN7QWidget10showNormalEv+0x4a)[0xf6dbb7d2] ./libgoogleearth_lib.so(_ZN10MainWindow18readScreensizeInfoEv+0xbeb)[0xf5f8d1db] ./libgoogleearth_lib.so(_ZN5earth6client11Application12SetupMainWinENS0_3Kvw7ProductEb+0x282)[0xf5fd6e82] ./libgoogleearth_lib.so(_ZN5earth6client11Application3runEv+0x3a9)[0xf5fdedf9] ./googleearth-bin[0x805c77a] /lib32/libc.so.6(__libc_start_main+0xe5)[0xf5d87a65] ./googleearth-bin[0x805be72]
googleearth-5.1.3533.1731-r1 now unbundles qt4 (unless qt-bundled flag is enabled) Few other libraries could be possible, but most have been unbundled by upstream over time.
Seems like there's nothing more to unbundle at this point (I don't recognize any of the remaining libraries). Just gdal is not available as 32bit on amd64, so it stays bundled there. Might try to unbundle the gpsbabel binary later, but it seems they use some prerelease version not in the tree so maybe they rely on some new functionality there.
Created attachment 234257 [details, diff] fix unbundling The unwanted libraries aren't unbundled on my system with googleearth-5.1.3535.3218 . I fixed the ebuild by moving the unbundling part from src_install to src_prepare .
(In reply to comment #16) > The unwanted libraries aren't unbundled on my system with > googleearth-5.1.3535.3218 . I fixed the ebuild by moving the unbundling part > from src_install to src_prepare . Whoa, you're right, I broke it when messing with unpacking logic. Thanks, fixed in -r1.
What is the status of this with latest version in the tree?
status is: CANTFIX or: GOOGLEEARTH IS BROKEN SHIT
In that case I think it's "in progress" (but a long "in progress" since we all know some times is really difficult to unbundle all libs soon)
(In reply to comment #20) > In that case I think it's "in progress" (but a long "in progress" since we > all know some times is really difficult to unbundle all libs soon) actually we are adding more bundled libs to it -.-
/opt/googleearth/libGLU.so.1 /opt/googleearth/libIGAttrs.so /opt/googleearth/libIGCore.so /opt/googleearth/libIGExportCommon.so /opt/googleearth/libIGGfx.so /opt/googleearth/libIGMath.so /opt/googleearth/libIGOpt.so /opt/googleearth/libIGSg.so /opt/googleearth/libIGUtils.so /opt/googleearth/libQtCore.so.4 /opt/googleearth/libQtGui.so.4 /opt/googleearth/libQtNetwork.so.4 /opt/googleearth/libQtWebKit.so.4 /opt/googleearth/libalchemyext.so /opt/googleearth/libapiloader.so /opt/googleearth/libauth.so /opt/googleearth/libbase.so /opt/googleearth/libbasicingest.so /opt/googleearth/libcollada.so /opt/googleearth/libcommon.so /opt/googleearth/libcommon_gui.so /opt/googleearth/libcommon_platform.so /opt/googleearth/libcommon_webbrowser.so /opt/googleearth/libcomponentframework.so /opt/googleearth/libevll.so /opt/googleearth/libexpat.so /opt/googleearth/libexpat.so.1 /opt/googleearth/libexpat.so.1.6.0 /opt/googleearth/libfilmstrip.so /opt/googleearth/libflightsim.so /opt/googleearth/libfusioncommon.so /opt/googleearth/libgdal.so.1 /opt/googleearth/libgdata.so /opt/googleearth/libge_cache.so /opt/googleearth/libge_net.so /opt/googleearth/libgeobase.so /opt/googleearth/libgeobaseutils.so /opt/googleearth/libglobalnew.so /opt/googleearth/libgoogleapi.so /opt/googleearth/libgoogleearth_free.so /opt/googleearth/libgooglesearch.so /opt/googleearth/libgps.so /opt/googleearth/libicudata.so.38 /opt/googleearth/libicuuc.so.38 /opt/googleearth/libinput_plugin.so /opt/googleearth/liblayer.so /opt/googleearth/liblayout.so /opt/googleearth/libmaps.so /opt/googleearth/libmath.so /opt/googleearth/libmeasure.so /opt/googleearth/libmoduleframework.so /opt/googleearth/libnavigate.so /opt/googleearth/libport.so /opt/googleearth/libprofile.so /opt/googleearth/libproj.so.0 /opt/googleearth/librender.so /opt/googleearth/libreporting.so /opt/googleearth/libsearch.so /opt/googleearth/libsearchmodule.so /opt/googleearth/libsgutil.so /opt/googleearth/libspatial.so /opt/googleearth/libviewsync.so /opt/googleearth/libwebbrowser.so /opt/googleearth/libwmsbase.so /opt/googleearth/libxsltransform.so /opt/googleearth/libnss_mdns4_minimal.so.2
latest version unbundles a lot of them except qt, cause it's messed up
According to Bradley T Hughes on http://lists.qt.nokia.com/public/qt4-feedback/2009-September/000822.html the "undefined symbol: _Z34QBasicAtomicInt_fetchAndAddOrderedPVii" comes "from the "generic" architecture, which means [googleearth's] code was compiled against a version of Qt that did not know anything about [the current] CPU architecture. It seems that [the installed Qt] has detected a real CPU architecture, and has switched to using inline assembler for the atomic implementation." (changes in [] mine). Is there a way to compile Gentoo's version of Qt with both the generic and the inline implementations?
I just bumped to the current version google is offering. If anybody wants to provide a new patch for more unbundling (if any), please repoen this bug. Until then I am closing as WONTFIX, sorry.