Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144185

Summary: compile fails with libkdefx.so.4: undefined symbol when Samsung printer drivers are installed
Product: Gentoo Linux Reporter: Marco Lazzeri <marcolz>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: simotsa
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marco Lazzeri 2006-08-17 01:53:44 UTC
Emergine app-office/openoffice-2.0.3 fails with:

-L/usr/lib/mozilla-firefox ../unxlngi6.pro/lib/check_libvclplug_kde680li.so
Checking DLL ../unxlngi6.pro/lib/check_libvclplug_kde680li.so ...: ERROR: /usr/kde/3.5/lib/libkdefx.so.4: undefined symbol: _ZN2Qt9lightGrayE
dmake:  Error code 1, while making '../unxlngi6.pro/lib/libvclplug_kde680li.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/vcl/util
make: *** [stamp/build] Error 1



Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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="-march=prescott -O2 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bzip2 cddb cli crypt css cups dlloader dri dvdr dvdread eds emboss encode esd expat fame fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint gpm graphviz gs gstreamer gtk2 ieee1394 imagemagick imap imlib isdnlog ithreads javascript jpeg jpeg2k kde kdeenablefinal libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pcre pdflib perl perlsuid png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session slp sndfile spell spl sse sse2 sse3 ssl svga threads tiff truetype truetype-fonts type1-fonts udev unicode urandom vcd vorbis wmf xcomposite xml xmms xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 04:05:19 UTC
Did you try to re-emerge kdelibs?
Comment 2 Marco Lazzeri 2006-08-17 10:01:07 UTC
No way. I tried to re-emerge kdelibs and then openoffice right now: same error.

 # genlop -l | tail -2
 Thu Aug 17 16:56:34 2006 >>> kde-base/kdelibs-3.5.2-r6

 # emerge openoffice
 [..]
O_JAVA_HOME/jre/lib/i386/client -LNO_JAVA_HOME/jre/lib/i386/native_threads -L/usr/lib -L/usr/lib/mozilla-firefox ../unxlngi6.pro/lib/check_libvclplug_kde680li.so
Checking DLL ../unxlngi6.pro/lib/check_libvclplug_kde680li.so ...: ERROR: /usr/kde/3.5/lib/libkdefx.so.4: undefined symbol: _ZN2Qt9lightGrayE
dmake:  Error code 1, while making '../unxlngi6.pro/lib/libvclplug_kde680li.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/vcl/util
make: *** [stamp/build] Error 1
  [..]
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2006-08-23 05:32:25 UTC
Something happened to your Qt library.  

I would re-emerge qt-3, then kdelibs, then openoffice.
Comment 4 Marco Lazzeri 2006-08-23 10:23:49 UTC
Yes. It looks like a problem with Samsung devices drivers. I just bought a multifunctional Samsung scanner-printer and after every boot its driver replaces

  /usr/lib/libqt-mt.so.3

with its own copy.

I temporarly worked around the problem with:

rm /usr/lib/libqt-mt.so.3 && ln -s /usr/qt/3/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so.3

Thanks.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-02 05:56:55 UTC
*** Bug 171397 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-11-02 05:58:50 UTC
Lets resolve this properly...
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-11-02 05:59:39 UTC
INVALID; breakage caused by unsupported, broken third-party drivers.