trying to play something with mplayer stopped working when updated openldap to version 2.2.26 . now re-emerging mplayer doesn't work anymore, this ends with "/usr/lib/libsmbclient.so: undefined reference to `ldap_err2string'". Reproducible: Always Steps to Reproduce: 1. execute 'mplayer' (with or without a file) Actual Results: Error message: mplayer: error while loading shared libraries: libldap.so.2: cannot open shared object file: No such file or directory I didn't try to downgrade openldap yet, but if this would be useful, I could do it.. # locate libldap /opt/OpenOffice.org/program/libldap50.so /usr/lib/libldap.a /usr/lib/libldap_r-2.2.so.7 /usr/lib/libldap-2.2.so.7 /usr/lib/libldap_r.la /usr/lib/libldap_r.so /usr/lib/MozillaThunderbird/libldap50.so /usr/lib/libldap-2.2.so.7.0.19 /usr/lib/mozilla/libldap50.so /usr/lib/libldap_r.a /usr/lib/libldap_r-2.2.so.7.0.19 /usr/lib/libldap.la /usr/lib/libldap.so # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.12 ccache version 2.4 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r9 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.8.1-r1, 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.inode.at/" LANG="en_IE@euro" MAKEOPTS="-j2" PKGDIR="/usr/local/pkgdir" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss esd fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 i8x0 imlib ipv6 irmc java jpeg kde ldap libclamav libg++ libwww live logitech-mouse mad mikmod mmx motif mozdevelop mozilla mozsvg mp3 mpeg ncurses network nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba sdl spell sse sse2 ssl subversion svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts vorbis wifi win32codecs xine xinerama xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Did you run revdep-rebuild?
Thanks for the tip, I try that over night. I will report tomorrow, there are some packages which will be re-emerged... (also openldap as first..) I hope this will fix the problem.
you failed to do revdep-rebuild after upgrading openldap.
*** Bug 93335 has been marked as a duplicate of this bug. ***
I posted a similar bug....it turns out revdep-rebuild doesn't fix the problem.
Reopening due to comment #5.
find what provides /usr/lib/libsmbclient.so and recompile that.
I ran: "equery belongs libsmbclient.so" and the program had shown that net-fs/samba owned it. I re-emerged it. After doing so I re-emerged mplayer and it worked. Thanks!
Hmm, why revdep-rebuild does not recompile samba? Maybe 'revdep-rebuild --soname ...' would catch that?
closing since revdep-rebuild and another manual recompile fixed it.