After upgrading samba to version 3.0.8 kdebase 3.3.1 cannot use libsmbclient.so Reproducible: Always Steps to Reproduce: 1. emerge samba (3.0.8) 2. USE="samba" emerge kdebase Actual Results: kdebase ./configure complains about libsmbclient usability and disables build of kio_smb Expected Results: kio_smb build and installed as ususal in configuration phase: You're missing libsmbclient from samba 3.0 KDE will not be able to browse windows shares without it, consider installing it. Look at kioslave/smb/libsmbclient-HOWTO.txt closer look to configure.log shows: configure:48003: i686-pc-linux-gnu-gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_X /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined reference to `secrets_fetch_machine_password' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined reference to `secrets_fetch' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined reference to `secrets_delete' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined reference to `secrets_store' but all these symbols are present in libsmbclient.a my emerge info: Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.6.6 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium-m -O3 -pipe -ffast-math " CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -O3 -pipe -ffast-math " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks keepwork sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi acpi4linux alsa apache2 ared aredmem arts avi bitmap-fonts cap caps cdr cdrom codecs crypt cups divx4linux dv dvd dvdread encode erandom ethereal exif ext-png ext-zlib f77 faac faad fam ffmpeg fftw flac foomaticdb fortran ftp gif gimp gphoto2 iconv ieee1394 imagemagick imap imlib imlib2ipv6 jack java jp2 jpeg jpeg2k kadu-modules kadu-voice kde kerberos ldap libg++ libwww live mad maildir matroska mmx mmx2 mng monkey motif mozilla moznocompose moznoirc mozp3p mozsvg mpeg mplayer msdav music network nis nls noantlr nobcel nobeanutils nocommonslogging nocommonsnet nojsch nojython nolog4j nooro noregexp norhino nosm noxalan noxerces nptl ntlm odbc offensive oggvorbis ooo-kde opengl operanom2 pam pcmcia pda pdflib png posix ppds psyco python qt quicktime radeon readline rtc samba sdl slang spell sse sse2 ssl svg theora tidy transcode truetype unicode usagi usb wifi x86 xine xml2xmms xv xvid xvmc zlib"
This problem is not related to kde but to samba. I think that the samba's people can help you better than us.
Confirm the bug. The KDE control center samba component is also obviously broken by this (claims "/usr/lib/kde3/libkcm_kcmsambaconf.so" to be missing, but the file is there). This looks like something broken also in the KDE side of things to me.
Probably the cause is a missing symbol on the samba side, that will crash any already linked application/library to it, have you also updated the samba version right?.
Yes, in fact the bug happened after I updated samba to 3.0.8, not KDE. I just tried to re-emerge kdenetwork just to see if maybe relinking the libraries fixed the problem or gave some meaningful error message during the compile, but it didn't: compiled just fine, then gave the same results.
So I confirm that this is a samba issue and not a kde one.
soon (next week) samba-3.0.9 should be out. If it doesn't resolve, we'll look further into this...
BTW: same error breaks other ebuilds which make use of that component: /usr/lib/libsmbclient.so: undefined reference to `secrets_fetch_machine_password' /usr/lib/libsmbclient.so: undefined reference to `secrets_fetch' /usr/lib/libsmbclient.so: undefined reference to `secrets_delete' /usr/lib/libsmbclient.so: undefined reference to `secrets_store' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 !!! ERROR: media-video/mplayer-1.0_pre4-r7 failed
Samba 3.0.8-r1 does not fix this.
Emerged Samba 3.0.9, it fixes kio_smb, but not the KDE control center samba component which still claims "/usr/lib/kde3/libkcm_kcmsambaconf.so" to be missing... (maybe a re-emerge could fix it ?) As per the other ebuilds I've tested which use samba (e.g. mplayer), they seem to work fine now.
I can confirm that mplayer now works fine for me (with samba 3.0.9) (bug 71515)
Regarding Comment #2: Control Centre is looking for /usr/lib/kde3/libkcm_kcmsambaconf.so which does NOT exist. That file is installed to /usr/kde/3.3/lib/kde3/. You can fix this by doing: ln -s /usr/kde/3.3/lib/kde3/libkcm_kcmsambaconf.so \ /usr/lib/kde3/libkcm_kcmsambaconf.so
This is strange. looks like you mixed the new kcmsambaconfig present in kdenetwork with the old net-misc/ksambaplugin
At some point in the past I did unmerge ksambaplugin in order to merge the new kdenetwork. But it has broken nothing at that time, so it is a bit strange that it breaks now, isn't it ? ;)
I noticed that when I remove Kerberos support for Samba 3.0.8, the bug goes away for me... FWIW...
I'm seeing this in gnome-vfs as well, The problem is that libsmbclient depends on some additionaly libs when Kerberos is turned on for samba. Not sure how to fix this one, maybe force libsmbclient to be static only?
disregard what I posted, 3.0.9 doesn't have this issue.
So fixed with 3.0.9 or still an issue? Looks fixed...
*** Bug 72475 has been marked as a duplicate of this bug. ***
Samba 3.0.9-r1 fixes the kio_smb problem as reported, NOT the one with KDE control center (not for me, at least - it still claims "/usr/lib/kde3/libkcm_kcmsambaconf.so" to be missing... I have just a .la file instead). I'd change the priority of this to "normal" since it doesn't block ebuilds or access to critical functions any more, though.
This other problem is probably unrelated to the samba's one. You probably had the old version of kcm_samba (not the one provided with kdenetwork), then a fix_libtool_files.sh changed it's mtime/md5 so on removal the .la wasn't removed and now the kde control center finds it before the right one under /usr/kde/3.3/lib/kde3. So you should remove /usr/lib/kde3/libkcm_kcmsambaconf.la, and try again. See bug #71265 for more infos. I'm closing it. If you cannot fix this issue please open a new bug report.
Confirmed that your solution works out also the other problem, thx :)