checking libsmbclient.h usability... yes checking libsmbclient.h presence... yes checking for libsmbclient.h... yes checking for smbc_new_context in -lsmbclient... no checking for yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes configure: error: --with-samba was given, but test for libsmbclient failed # emerge info *** Deprecated use of action 'info', use '--info' instead Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 Genuine Intel(R) CPU T2250 @ 1.73GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 19 Apr 2007 17:01:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LINGUAS="en fr nl" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/stuart-desktop /usr/portage/local/layman/sunrise /usr/portage/local/layman/ebuild-exchange /usr/portage/local/layman/fluidportage /usr/portage/local/layman/haskell /usr/portage/local/layman/secondlife /usr/portage/local/layman/einit" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa asf avi bash-completion berkdb bitmap-fonts branding bzip2 cli cracklib crypt cups divx4linux dri dvd dvdr dvdread encode esd fam flac gdbm gif gnome gnutls gpm iconv imlib ipv6 isdnlog jpeg kde kdeenablefinal kdexdeltas libg++ libwww live mad matroska midi mmx mmx2 moznocompose moznoirc moznomail mp3 mpeg nas ncurses network nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib png ppds pppd qt quicktime readline real reflection rtc rtsp session shout slang spell spl sse sse2 sse3 ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml2 xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr nl" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
should add this: [ebuild U ] kde-base/kdebase-kioslaves-3.5.6-r1 [3.5.6] USE="kdeenablefinal samba -arts -debug -hal -kdehiddenvisibility -ldap -openexr -xinerama" 0 kB
Which version of samba is installed? What's the output of `qlist samba | grep libsmbclient.*so`? Do those libs actually exist on your system? If you do not have the qlist command, emerge the portage-utils, please or use "equery files" instead.
I have samba-3.0.24 # qlist samba | grep libsmbclient.*so /usr/lib/samba/libsmbclient.so /usr/lib/libsmbclient.so.0 /usr/lib/libsmbclient.so
Please attach the config.log (you'll find it in /var/tmp/portage/kde-base/kdebase-kioslaves-3.5.6-r1/work/kdebase-kioslaves-3.5.6) to this bug.
Created attachment 116969 [details] config.log Here you go.
This is most likely the source of your problem: warning: libcap.so.1, needed by /usr/lib/libsmbclient.so, not found (try using -rpath or -rpath-link) Please try running revdep-rebuild (from app-portage/gentoolkit). If that doesn't fix it, please re-emerge sys-libs/libcap. Let us know, please, if that helps.
revdep-rebuild fixed it, thanks.
Not a bug,
local problem.