/etc/init.d/samba restart * samba -> start: smbd ... /usr/sbin/smbd: error while loading shared libraries: libtalloc.so.1: cannot open shared object file: No such file or directory [ !! ] * samba -> start: nmbd ... /usr/sbin/nmbd: error while loading shared libraries: libtalloc.so.1: cannot open shared object file: No such file or directory [ !! ] * Error: starting services (see system logs) * samba -> stop: smbd ... [ ok ] * samba -> stop: nmbd ... [ ok ] I did a locate libtalloc.so.1 and found anything.. then I did a locate libtalloc.so and I found it here: /usr/lib64/samba/libtalloc.so I did a symlink and still not working... I did run ldconfig whats wrong? thanks Reproducible: Always
ok works now but this is bad... it should not install this way.. I had to manually putthis on /etc/ls.so.conf /usr/lib64/samba so ends like: # ld.so.conf autogenerated by env-update; make all changes to # contents of /etc/env.d directory /usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/32 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32 /usr/lib64/samba run ldconfig and works... something is wrong with this ebuil or package from upstream.. if any developer sees this pleaset ake a look _________________
Which samba ebuild do we speak about? Provide `emerge --info` output, please.
(In reply to comment #2) > Which samba ebuild do we speak about? Provide `emerge --info` output, please. > I was googling this error and found this bug. I'm using samba-3.2.2 from the dev-zero overlay. The above fix with ld.so.conf did work work for me. my emerge --info: Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: 2.6.25-gentoo-r7 x86_64 AMD Opteron(tm) Processor 150 Timestamp of tree: Mon, 01 Sep 2008 01:04:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r14, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.10.1 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="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" 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/layman/dev-zero" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi ads alsa amd64 authdaemond bacula-console berkdb bzip2 cli cracklib crypt dbus dri fam fortran gdbm gpm iconv ipv6 isdnlog justify kerberos ldap logrotate logwatch mailwrapper midi mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection sasl session socks5 spl sse sse2 ssl symlink sysfs tcpd unicode winbind xorg zlib" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This Bugzilla is for the Gentoo repository, not arbitrary overlays. Well...
solved in my overlay.
I experienced a similar problem with net-fs/samba-3.2.0_rc2 in the tree. I used the suggested fix of adding /usr/lib/samba (running 32bit here) to the /etc/ld.so.conf file; but, env-update would remove this. I created a file in /etc/env.d/ setting LDPATH to /usr/lib/samba. I haven't seen this particular feature of portage firsthand, any suggestions to make a fix in the ebuild?
I have encounterred this bug, too. And add """ /etc/env.d/99Samba: LDPATH="/usr/lib/samba" """ works. Would anyone help to push it into repository?