When I start mplayer it complains about mplayer: error while loading shared libraries: libpulse.so.0: cannot open shared object file: No such file or directory I uninstalled (emerge -C) and reinstalled mplayer. Makes no difference. Portage 2.2_rc67 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.11-r0, 2.6.34-rc3 i686) ================================================================= System uname: Linux-2.6.34-rc3-i686-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-gentoo-2.1.6 Timestamp of tree: Mon, 05 Apr 2010 05:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.1.10 dev-lang/python: 2.4.4-r5, 2.5.2-r7, 2.6.3 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.1.6 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.61-r1 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.1 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc: 3.3.6-r1, 4.1.2, 4.3.3-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_CH.UTF-8" LC_ALL="de_CH.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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.gentoo.org/gentoo-portage" USE="X aac accessibility acl admin alac alsa apache2 berkdb boost bzip2 cairo cdr cgi cjk consolekit crypt ctype cups curl cxx dbus deprecated discouraged dri dvd dvdr dvdread encode ffmpeg flac foomaticdb gcj gd gdm gif gnome gpgme gpm gs gtk gtkhtml iconv imagemagick imlib immqt ipv6 java java5 java6 jfs jpeg kde lame lua mad maildir mime mmx modules mp3 mp4 mpeg mpeg2 mplayer mudflap mysql mysqli nautilus ncurses nls nptl nptlonly ogg openmp openssh openssl opera pam pcre pda perl php png pop ppds python qt-static qt3support quicktime readline realmedia regex rpm sasl sdl sdl-image sdl-sound sdlaudio session skins spreadsheet sqlite ssl svg sysfs tcpd threads thumbnail tiff tls tracker truetype unicode utf8 vhook vhosts vorbis wavpack webkit win32codecs wv wxwindows x86 xml xorg xterm xterm-color xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please emerge app-portage/gentoolkit and then run revdep-rebuild Report the results here please...
(In reply to comment #1) > Please emerge app-portage/gentoolkit and then run > > revdep-rebuild > > Report the results here please... > oh, you were faster ... I want to mention: Can you please attach build.log and environment for us to see the version and USE-flag combination you tried. If I have to guess, I would say that this libpulse.so.0 should be in media-sound/pulseaudio, do you have it? Which version do you have? mplayer[pulseaudio] should depend and install media-sound/pulseaudio. Maybe you wanna check "equery files sound/pulseaudio" or "locate libpulse.so.0" for it and post the output.
(In reply to comment #2) > > Can you please attach build.log and environment for us to see the version and > USE-flag combination you tried. Do you want the buildlog from mplayer? > If I have to guess, I would say that this libpulse.so.0 should be in > media-sound/pulseaudio, do you have it? Pulseaudio fails with: * Running aclocal -I m4 ... [ !! ] * Failed Running aclocal ! * * Include in your bugreport the contents of: * * /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/temp/aclocal.out * ERROR: media-sound/pulseaudio-0.9.15-r2 failed: * Failed Running aclocal ! * * Call stack: * ebuild.sh, line 48: Called src_prepare * environment, line 6944: Called eautoreconf * environment, line 4776: Called eaclocal * environment, line 4711: Called autotools_run_tool 'aclocal' '-I' 'm4' * environment, line 4258: Called die * The specific snippet of code: * die "Failed Running $1 !"; * * If you need support, post the output of 'emerge --info =media-sound/pulseaudio-0.9.15-r2', * the complete build log and the output of 'emerge -pqv =media-sound/pulseaudio-0.9.15-r2'. * The complete build log is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/temp/environment'. * S: '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15' >>> Failed to emerge media-sound/pulseaudio-0.9.15-r2, Log file: Buildlog of pulseaudio is: ^[[32;01m*^[[0m CPV: media-sound/pulseaudio-0.9.15-r2 ^[[32;01m*^[[0m REPO: funtoo ^[[32;01m*^[[0m USE: X alsa asyncns caps dbus elibc_glibc glib gnome kernel_linux tcpd userland_GNU x86 >>> Unpacking source... >>> Unpacking pulseaudio-0.9.15.tar.gz to /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work >>> Source unpacked in /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work >>> Preparing source in /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15 ... ^[[32;01m*^[[0m Applying pulseaudio-0.9.15-bsd.patch ... ^[[A^[[119C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m ^[[32;01m*^[[0m Applying pulseaudio-0.9.15-CVE-2009-1894.patch ... ^[[A^[[119C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m ^[[32;01m*^[[0m Running eautoreconf in '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15' ... ^[[32;01m*^[[0m Running aclocal -I m4 ... ^[[A^[[119C ^[[34;01m[ ^[[31;01m!!^[[34;01m ]^[[0m ^[[31;01m*^[[0m Failed Running aclocal ! ^[[31;01m*^[[0m ^[[31;01m*^[[0m Include in your bugreport the contents of: ^[[31;01m*^[[0m ^[[31;01m*^[[0m /var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/temp/aclocal.out ^[[31;01m*^[[0m ERROR: media-sound/pulseaudio-0.9.15-r2 failed: ^[[31;01m*^[[0m Failed Running aclocal ! ^[[31;01m*^[[0m ^[[31;01m*^[[0m Call stack: ^[[31;01m*^[[0m ebuild.sh, line 48: Called src_prepare ^[[31;01m*^[[0m environment, line 6944: Called eautoreconf ^[[31;01m*^[[0m environment, line 4776: Called eaclocal ^[[31;01m*^[[0m environment, line 4711: Called autotools_run_tool 'aclocal' '-I' 'm4' ^[[31;01m*^[[0m environment, line 4258: Called die ^[[31;01m*^[[0m The specific snippet of code: ^[[31;01m*^[[0m die "Failed Running $1 !"; ^[[31;01m*^[[0m ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =media-sound/pulseaudio-0.9.15-r2', ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =media-sound/pulseaudio-0.9.15-r2'. ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/temp/build.log'. ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/temp/environment'. ^[[31;01m*^[[0m S: '/var/tmp/portage/media-sound/pulseaudio-0.9.15-r2/work/pulseaudio-0.9.15' > Which version do you have? mplayer[pulseaudio] should depend and install > media-sound/pulseaudio. * media-video/mplayer Latest version available: 1.0_rc4_p20100213-r1 Latest version installed: 1.0_rc4_p20100213-r1 > "locate libpulse.so.0" Does not deliver anything.
(In reply to comment #1) > Please emerge app-portage/gentoolkit and then run > > revdep-rebuild > > Report the results here please... The list is too long to be reported here. The media portion is: media-gfx/blender:0 media-gfx/exif:0 media-gfx/graphviz:0 media-gfx/kflickr:0 media-libs/xine-lib:1 media-plugins/libao-pulse:0 media-plugins/xmms-alsa:0 media-plugins/xmms-esd:0 media-plugins/xmms-vorbis:0 media-sound/amarok:0 media-sound/vorbis-tools:0 media-sound/xmms:0 media-video/ffmpeg:0 media-video/ffmpeg2theora:0 media-video/mjpegtools:1
Just to get this right: Pulseaudio was never installed on my system and mplayer always used to work fine. I normally use mplayer to play .wav files from my audio-Mailbox.
Libpulse is here: ~> locate libpulse /usr/lib/ao/plugins-2/libpulse.la /usr/lib/ao/plugins-2/libpulse.so I believe that some library moved and I need to link libpulse.so.0 to some old location. I just do not know which one.
@comment 6: quite obviously, it's not the libpulse in question. Would you attach that aclocal.out already ?
Ok, pulseaudio depends on the latest automake version ... I just updated automake and now pulseaudio compiles as well. ... * sys-devel/automake Latest version available: 1.11.1 Latest version installed: 1.11.1
Ok, pulseaudio is now installed. But now I get: mplayer: error while loading shared libraries: libdts.so.0: cannot open shared object file: No such file or directory
(In reply to comment #7) > @comment 6: quite obviously, it's not the libpulse in question. > Would you attach that aclocal.out already ? Sorry, where you I find the file you are talking about?
(In reply to comment #4) > (In reply to comment #1) > > Please emerge app-portage/gentoolkit and then run > > > > revdep-rebuild > > > > Report the results here please... > > The list is too long to be reported here. The media portion is: > > media-gfx/blender:0 > media-gfx/exif:0 > media-gfx/graphviz:0 > media-gfx/kflickr:0 > media-libs/xine-lib:1 > media-plugins/libao-pulse:0 > media-plugins/xmms-alsa:0 > media-plugins/xmms-esd:0 > media-plugins/xmms-vorbis:0 > media-sound/amarok:0 > media-sound/vorbis-tools:0 > media-sound/xmms:0 > media-video/ffmpeg:0 > media-video/ffmpeg2theora:0 > media-video/mjpegtools:1 > I wanted you to report success or failure of running mplayer _after_ you let revdep-rebuild recompile all packages. Each package in the list is broken and will not run properly, so do yourself a favour and recompile them all.
media-plugins/libao-pulse has been redundant for nearly 3 years (ever since 0.8.8 release). If other packages on your system follow that pattern, this bug is simply INVALID.
Please reopen the bug after revdep-rebuild has finished. :)
(In reply to comment #12) > media-plugins/libao-pulse has been redundant for nearly 3 years > (ever since 0.8.8 release). Can you please be more articulate? Does that mean that I can purge the package and mplayer should still work? > If other packages on your system follow that pattern, What pattern? > this bug is simply INVALID. Please don't close a bug without being more explicit.
Sorry, but there should be a way to solve this problem without running revdep-rebuild.
To which package does ~> equery b libdts * Searching for libdts ... belong? I can not find it. See above. Ok, it obviously belongs to the libdca package. But that again only installs ~> locate libdts /usr/lib/libdts.a /usr/lib/pkgconfig/libdts.pc
As shown above, this has nothing to do with rev-dep rebuild as libca does not install /usr/lib/libdts.so.0 libdca is not even in my list of revdep-rebuild. Also see: http://www.linuxforums.org/forum/redhat-fedora-linux-help/95651-mplayer-wont-start.html
(In reply to comment #15) > Sorry, but there should be a way to solve this problem without running > revdep-rebuild. No there isn't. Please note that by looking at the partial output of your revdep-rebuild run I think your system is quite screwed and this kind of problems usually doesn't belong into bugzilla but our discussion forums. Simply out of curiosity I will give you some help here once again in the hope that you at least _try_ my suggestions. Do the following steps to get your system in a sane state again. First run revdep-rebuild just to make sure there are as few packages with broken libs as possible: revdep-rebuild -i -- -v --keep-going the "--keep-going" makes sure that as many stuff compiles as possible. Then run emerge -a --depclean and let it remove all packages that are either no longer available in the tree (like all the xmms stuff) or are no longer a dependency of any other package. By the way, if portage complains about installed packages no longer being in the portage-tree you should remove them. Keeping such cruft in tnstalled can lead to such problems you now suffer from. Finally after having --depclean removing all unnecessary packages you run revdep-rebuild once again: revdep-rebuild -i -- -v --keep-going If revdep-rebuild finds broken libs which it cannot assign to a package just delete such files. But double check that they are orphaned or else you make your system just more broken than it already is. Report back any packages/libs that still weren't sucessfully built by the last revdep-rebuild command.
To start off: My system is not broken. It works perfectly well. Just do not see the sense of running revdep-rebuild as that command have never been of any help and just complicates matters. I am still willing to hear your advice though. (In reply to comment #18) > revdep-rebuild -i -- -v --keep-going Ok, I know. But this does not help. I wants to recompile to many packages. I done that. > the "--keep-going" makes sure that as many stuff compiles as possible. > Then run > > emerge -a --depclean Again, this wants to many things installed and starts with: Calculating dependencies... done! * Dependencies could not be completely resolved due to * the following required packages not being installed: * * ~kde-base/kdesu-3.5.8 pulled in by: * kde-base/kcontrol-3.5.8-r2 * * =x11-libs/qt-3.3* pulled in by: * kde-base/khelpcenter-3.5.8 * * =x11-libs/qt-3.3* pulled in by: * kde-base/khexedit-3.5.7 * * =x11-libs/qt-3.3* pulled in by: * kde-base/kdebase-data-3.5.8 * * =x11-libs/qt-3.3* pulled in by: * kde-base/kcminit-3.5.8 * * =x11-libs/qt-3.3* pulled in by: * kde-base/libkonq-3.5.8 * * >=kde-base/kdelibs-3.3 pulled in by: * media-sound/amarok-1.4.8 * * =virtual/httpd-php-4* pulled in by: * www-apps/knowledgetree-3.4.3 and results with: * Have you forgotten to run `emerge --update --newuse --deep @world` prior * to depclean? It may be necessary to manually uninstall packages that no longer * exist in the portage tree since it may not be possible to satisfy their * dependencies. Also, be aware of the --with-bdeps option that is documented * in `man emerge`. > and let it remove all packages that are either no longer available in the tree > (like all the xmms stuff) or are no longer a dependency of any other package. Is there a command to remove all broken packages and there dependencies? I.e. I do not use kde or gnome so all those dependencies and packages can be purged and deleted off my machine. > By the way, if portage complains about installed packages no longer being in > the portage-tree you should remove them. Keeping such cruft in tnstalled can > lead to such problems you now suffer from. Thank you for the tip. Is there a command to list all packages on my system that are no longer in the portage tree?
Please put the output of revdep--rebuild -i -- -pv and the output of emerge -uDpNv world and the content of your /var/lib/portage/world file into one single file and attach that here to this bug.
Created attachment 226879 [details] -uDpNv world, revdep-rebuild -i -- -pv As requested.
Created attachment 226881 [details] /var/lib/portage/world Output of /var/lib/portage/world
Thanks for proving me right. You screwed your Gentoo quite a bit. For a start, unmerge those packages listed by this command: for pkg in $(</var/lib/portage/world) ; do emerge -Oqpv ${pkg} ; done | grep -v "\[ebuild" Then clean your world file from system packages (there's no need to haven them listed there). Make a backup copy of your /var/lib/portage/world file then run the following "script": for pkg in $(emerge -qpe system | awk '{print $4}' | sed 's:\(^[[:alnum:]\/_-]\+\)-[[:digit:]].*:\1:g') ; do sed "/${pkg//\//\\/}/d" -i /var/lib/portage/world ; done And then try to do the suggestions I gave you in my previous posts. This kind of problems is definitely no topic for a bug tracker. For further assistance please seek help in our forums. Marking as INVALID again.
(In reply to comment #23) > for pkg in $(</var/lib/portage/world) ; do emerge -Oqpv ${pkg} ; done | grep -v > "\[ebuild" This command does not work. I do not receive any output.
Why not for a change answer my question: To which package does this file belong: libdts.so.0:
This solved it all: ~> sudo ln -s /usr/lib/libdca.so.0.0.0 /usr/lib/libdts.so.0 also see: http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-April/066635.html I wonder what package broke that during my upgrading.
(In reply to comment #3) > ^[[32;01m*^[[0m REPO: funtoo Are you sure you followed Funtoo's bug reporting instructions from their FAQ?
(In reply to comment #27) > (In reply to comment #3) > > ^[[32;01m*^[[0m REPO: funtoo > > Are you sure you followed Funtoo's bug reporting instructions from their FAQ? > That doesn't matter one bit. This "problem" is in fact a PEBCAK. He is quite happy with breaking his system a step at a time. libdts -> libdca was one more old upgrade, that a proper cycle of 'emerge -upvD world;revdep-rebuild' should and probably would pick up. He's not interested in fixing his system, just adding new hacks.
Ok people, this bug has gone far away from its original purpose(a simple bug report). Zeno, thanks for your report(s), you've been a gentoo user for a long time, it seems. But this time, we cannot help you more than Lars did. Your gentoo box seems not well maintained. I would suggest to read again the gentoo handbook (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml) and my personal opinion would be to seriously think to do a fresh gentoo installation, after reading the handbook. I will close the bug, because more "not-so-helpful-anymore" comments, only serve in increasing the size of bugzie's database. Thank you again for your original report(it doesn't matter if it was invalid or not)
It is true, I never do "emerge world" as I do not see that as efficient. There must be another way of dealing with old libraries. Every second input is "do revdep-rebuild" ... I run many Gentoo servers and that has never helped. For the record: I do not like linking old and new libraries either... So the there must be a third way as well.
(In reply to comment #26) > This solved it all: > > ~> sudo ln -s /usr/lib/libdca.so.0.0.0 /usr/lib/libdts.so.0 That's bogus. The symbols are prefixed with 'dca_' in the libdca where as they are prefixed 'dts_' in the (old) libdts. Only correct way to fix your system is revdep-rebuilding it, those symlinks will screw it even more up
(In reply to comment #31) > > ~> sudo ln -s /usr/lib/libdca.so.0.0.0 /usr/lib/libdts.so.0 > > That's bogus. The symbols are prefixed with 'dca_' in the libdca where as they > are prefixed 'dts_' in the (old) libdts. > > Only correct way to fix your system is revdep-rebuilding it, those symlinks > will screw it even more up Well good to know. Practice will tell. I am always open for another solution but not revdep-rebuid, as that just does not work.
In pages http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1 we explain why revdep-rebuild is so important when maintaining a gentoo linux system. What we provide is open-source tools/methods for distributing open-source software. If you're going to use these tools or not, it's of course, your decision, to make. We suggested to you, more than one, "official" solutions, to fix your problems, on an upper level. But nobody pays us to solve bugs, we are volunteers and we spend our free time trying to contribute. I 'm going to lock this bug, cause there is no bug anywhere, and I don't care about revdep-rebuild. I don't want more developers and contributors to spend time making "not-so-helpful" comments in here. I hope you understand.
Unlocked again, after zeno's mail to me. But please, stop continue discussing here, topics that are not for bugzilla. I didn't want to bother you, zeno, I'm sorry if I did.
Evcharistopoli. What is wrong with some feedback of a critical Gentoo user? I am running "emerge -u world" now on my personal machine. But hey: I would never ever do that on a production server as that is the ultimate death of your production server. So that is the reason why I ask for another solution as well: i.e. updating your packages individually should absolutely be possible for an open System like Gentoo. Also which part of the forums to you suggest, that I start a thread? Thank you for your Feedback.
Just for the record and Google: I believe emerge -u system would have helped me out with the least hassle, as it does not take as much time as emerge -u world.