ksmserver fails to load nVidia's libGL.so.1 because of missing symbols after updating from 4.1.2 to 4.1.3. Reproducible: Always Steps to Reproduce: 1. unmask kde4 2. emerge =nvidia-drivers-96.43.09 3. emerge -1 ksmserver Actual Results: Scanning dependencies of target ksmserver [100%] Building CXX object ksmserver/CMakeFiles/ksmserver.dir/ksmserver_dummy.o Linking CXX executable ksmserver /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000037gl' /usr/lib/libGLcore.so.1: undefined reference to `_nv000035gl' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000036gl' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000038gl' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000040gl' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000039gl' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000041gl' collect2: ld returned 1 exit status make[2]: *** [ksmserver/ksmserver] Error 1 make[1]: *** [ksmserver/CMakeFiles/ksmserver.dir/all] Error 2 make: *** [all] Error 2 * * ERROR: kde-base/ksmserver-4.1.3 failed. Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26.7 i686) ================================================================= System uname: Linux-2.6.26.7-i686-AMD_Athlon-tm-_XP_2400+-with-glibc2.0 Timestamp of tree: Tue, 30 Dec 2008 08:20:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2 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.2 sys-devel/binutils: 2.18-r3 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="-O2 -march=i686 -mtune=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://192.168.0.11/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="ro en" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac accessibility acl acpi addbookmarks administrator agg alisp alsa amr apache2 ares async automount bash-completion berkdb bluetooth branding bzip2 cdaudio cddb cdparanoia cdr chroot cjk cli console contactnotes cracklib crypt css cups curl daap dar32 dbus dga directfb divx djvu dmx dri dv dvb dvd dvdr dvdread dxr3 emacs embedded emerald encode exif expat extensions extraengine extrafilters fam fame fbcon ffmpeg flac fontconfig fortran ftp gd gdal gdbm geos gif glitz glsa gmedia gmp gnutls gpm graphviz gs gsm gstreamer guile hal hash hdf highlight history hpn iconv idn imagemagick imap inquisitio ipod ipv6 irc isdnlog ithreads jabber jack javascript jbig jingle jpeg jpeg2k json kde lame ldap ldb lirc live lm_sensors logitech-mouse lzo mad maildir md5sum mhash midi mjpeg mmap mmx mmxext mng modplug mozdevelop mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mudflap multiuser musepack musicbrainz ncurses netboot nethack netmeeting network network-cron networking nls nptl nptlonly nsplugin oav odbc offensive ogg openexr opengl openmp oss pam pcre pdf perl pg-intdatetime pink pmu png pnm ppds pppd prediction proj pulseaudio python qa qt3support qt4 query-browser quicktime quotas radio rar readline reflection rtc rtsp samba sdl session slang slp sms smtp sndfile snmp soap sockets socks5 sound speex spl sql srt sse ssl statistics subtitles subversion svg swat symlink sysfs syslog tcpd texteffect theora threads tiff truetype unicode urandom usb vcd vim-pager vim-syntax vim-with-x visibility vnc vorbis vorbis-psy webdav webpresence win32codecs winbind winpopup wma wmf wmp workbench wxwindows x264 x86 xanim xcomposite xforms xine xml xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahooyv12 zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="asym dmix ioplug plug softvol dsnoop" APACHE2_MODULES="alias authnz_host authz_ldap autoindex cache dir env expires headers include info ldap log_config mem_cache mime mime_magic proxy proxy_http rewrite setenvif status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en" LIRC_DEVICES="leadtek_0007 leadtek_0010 leadtek_pvr2000 usb_uirt_raw usbirboy" USERLAND="GNU" VIDEO_CARDS="apm fbdev nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libGL.so: undefined reference to `_nv000037gl' This seems to be an issue with your opengl config to me. How did you install the nvidia-drivers? Does "eselect opengl set nvidia" fix this?
I installed nvidia-drivers by masking the newer versions (that aren't compatible with my card - GeForce4 MX440) and then emerge -uDN nvidia-drivers. After each kernel upgrade I recompile them by module-rebuild rebuild. eselect opengl set nvidia didn't solve my problem. eselect opengl set xorg-x11 and then eselect opengl set nvidia also doesn't work. I'm using this system for two years and I never had any issues with it until now. That is why I opened this bug report. I tried to emerge -1 nvidia-drivers and then continue to emerge -uDN world (as part of the update) and this also failed. A few minutes ago I checked if I can emerge ksmserver-4.1.2 and it failed, so I guess, yes: the problem must be somwhere else. No other package failed to emerge though... Now everything is up to date, except ksmserver.
re-install some of the newer versions and it should be resolved now. there has been some eselect work.
I'll give it a try, even though I've been using the nv driver lately and I'm quite happy with it. I will let you know how it went.