Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148666 - Stray .la files cause applications installed in /usr to fail loading plugins
Summary: Stray .la files cause applications installed in /usr to fail loading plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 148676 148681 149375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-22 09:32 UTC by Tomas Cohen Arazi
Modified: 2006-09-30 08:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Cohen Arazi 2006-09-22 09:32:44 UTC
After I updated my gentoo to use qt-3.3.6-r2 and kdelibs-3.5.4-r2, amarok-1.4.3-r2 stopped working.
I get this error message in a dialog window:


"Amarok no pudo encontrar ninguna extensi
Comment 1 Tomas Cohen Arazi 2006-09-22 09:32:44 UTC
After I updated my gentoo to use qt-3.3.6-r2 and kdelibs-3.5.4-r2, amarok-1.4.3-r2 stopped working.
I get this error message in a dialog window:


"Amarok no pudo encontrar ninguna extensión de motor de sonido. Amarok está actualizando la base de datos de configuración de KDE. Por favor espere unos minutos, luego reinicie Amarok.
Si ésto no le ayuda, puede ser que Amarok esté instalado bajo un prefijo erróneo, por favor corrija su instalación usando: 
$ cd /path/to/amarok/source-code/
$ su -c "make uninstall"
$ ./configure --prefix=`kde-config --prefix` && su -c "make install"
$ kbuildsycoca 
$amaroK
Puede encontrar mas información en el archivo README. Para más información contacte con nosostros en #amarok en irc.freenode.net."


I tried deleting every amarok's config file and got the same behaviour.

emerge --info
Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Sempron(TM) 2400+
Gentoo Base System version 1.12.5
Last Sync: Fri, 22 Sep 2006 14:30:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.6-r1, 2.0.29
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo"
LANG="es_AR.ISO-8859-1"
LC_ALL="es_AR.ISO-8859-1"
LINGUAS="es-AR es-ES en es es_ES es_AR"
MAKEOPTS="-j1"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/tomas /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi addbookmarks aim akode alias alsa amarok amazon amuled apache2 aqua_theme arts asf autoreplace avalon bash-completion berkdb big-tables bitmap-fonts blas bootsplash browserplugin bzip2 cairo calendar carbone_theme ccache cdb cddb cdparanoia cdr cgi chroot clamav cli connectionstatus contactnotes cracklib crypt css ctype cups curl dbus directfb divx dlloader dri dts dvd dvdr dvdread effects elibc_glibc emacs emboss emf encode esd exif expat exscalibar fam fame fat fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb fortran ftp gadu gd gdbm gecko-sdk geoip gif gimp gimpprint glgd glibc-omitfp glitz glut glx gmail gmedia gmp gnome gnutls gphoto2 gpm graphviz groupwise gs gstreamer010 gtalk gtk gtk2 hal haskell hfs highlight history hpn iconv icq id3 idn ieee1394 ilbc imagemagick imap imlib imlib2 inkjar innodb input_devices_keyboard input_devices_mouse input_devices_vmmouse insecure-savers iproute2 irc isdnlog j2ee jack java java5 javascript jce jfs jingle joystick jpeg jpeg2k junit kcal kde kdehiddenvisibility kdepim kerberos kernel_linux kexi kipi krb4 lame lapack latex lcms ldap libcaca libclamav libg++ libsamplerate libvisual linguas_en linguas_es linguas_es-AR linguas_es-ES linguas_es_AR linguas_es_ES lirc lirc_devices_all lm_sensors logrotate lua lzo mad maildir maps matroska mhash mikmod mime mjpeg mmx mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mpm-worker msn msnextras mudflap musepack music musicbrainz mysql mythtv nas ncurses netbeans nls nowlistening nptl nptlonly nsplugin nspr nss ntfs nvidia nvtv objc objc++ ofx ogg openal openexr opengl openssl ortp oss pam pascal pcntl pcre pdf pear perl php pic plugin png posix postgres povray ppds pppd python qmail qt3 qt4 quicktime quotas rar rdesktop readline real realmedia reflection reiserfs remote rpc rtc ruby samba sametime scanner scp sdl sensord server servlet-2.4 session slang slp sms soap sockets sou sounds spamassassin speex spell spl sql sqlite sqlite3 sse sse-filters ssl statistics struts subp subtitles subversion svg svga svgz sysvipc t1lib taglib tcl tcltk tcpd tetex texteffect theora thesaurus threads tidy tiff tk tokenizer tools transcode translator truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd vcdimager vfat video_cards_apm video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vmware videos virus-scan visualization vlm vorbis vorbis-psy webpresence win32codecs winbind wma wma123 wmf wmp wxgtk1 wxwindows xanim xcomposite xft xine xml xml2 xmlreader xmlrpc xmlwriter xorg xosd xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz yv12 zip zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-22 09:37:34 UTC
Please, set your language to English when reporting bugs.
Comment 3 Tomas Cohen Arazi 2006-09-22 09:43:40 UTC
(In reply to comment #1)
> Please, set your language to English when reporting bugs.
> 

I'm sorry, I forgot... here we go again:

I get this message:

"KLibLoader could not load the plugin:
libamarok_void-engine_plugin
Error message:
/usr/kde/3.5/lib/kde3/libamarok_void-engine_plugin.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio"

And after clicking "Ok" y get this one:

"Amarok could not find any sound-engine plugins. Amarok is now updating the KDE configuration database. Please wait a couple of minutes, then restart Amarok.
If this does not help, it is likely that Amarok is installed under the wrong prefix, please fix your installation using:
$ cd /path/to/amarok/source-code/
$ su -c "make uninstall"
$ ./configure --prefix=`kde-config --prefix` && su -c "make install"
$ kbuildsycoca
$ amarok
More information can be found in the README file. For further assistance join us at #amarok on irc.freenode.net."

Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-22 09:54:05 UTC
You either:

- upgraded from 1.3;
- installed amarok by hand;
- installed amarok-svn from an outdated ebuild;
- installed amarok from an unofficial ebuild.

find /usr/kde -name \*amarok\*.la -print0 | xargs -0 rm

will fix your issue.
Comment 5 Tomas Cohen Arazi 2006-09-22 10:00:37 UTC
I found that doing 

zoe ~ # locate .la | grep amarok
/usr/kde/3.5/lib/kde3/libamarok_helixengine_plugin.la
/usr/kde/3.5/lib/kde3/libamarok_void-engine_plugin.la
/usr/kde/3.5/lib/kde3/konqsidebar_universalamarok.la
/usr/kde/3.5/lib/kde3/libamarok_vfat-mediadevice.la
/usr/kde/3.5/lib/kde3/libamarok_xine-engine.la
/usr/kde/3.5/lib/kde3/libamarok_artsengine_plugin.la
/usr/kde/3.5/lib/libamarok.la
/usr/kde/3.5/lib/libamarokarts.la
/usr/lib/kde3/katapult_amarokcatalog.la
/usr/lib/kde3/libamarok_helixengine_plugin.la
/usr/lib/kde3/libamarok_void-engine_plugin.la
/usr/lib/kde3/libamarok_gst10engine_plugin.la
/usr/lib/kde3/konqsidebar_universalamarok.la
/usr/lib/kde3/libamarok_vfat-mediadevice.la
/usr/lib/kde3/libamarok_smb-device.la
/usr/lib/kde3/libamarok_xine-engine.la
/usr/lib/kde3/libamarok_massstorage-device.la
/usr/lib/kde3/libamarok_generic-mediadevice.la
/usr/lib/kde3/libamarok_nfs-device.la
/usr/lib/kde3/libamarok_daap-mediadevice.la
/usr/lib/libamarok.la
/usr/share/apps/amarok/ruby_lib/libhttp11.la

reveals that there are .la files in both directories so there has been a mistake when reemerging amarok... How is this possible? an error in kde.eclass in a transition from one choice for dir or another?

Removing every .la's related to amarok solved the problem. I hope no other suffered from this.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-22 12:05:41 UTC
*** Bug 148681 has been marked as a duplicate of this bug. ***
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-22 12:15:03 UTC
Changing summary to be more generic. The similar approach to amarok can be followed for Kopete too.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-22 12:16:07 UTC
*** Bug 148676 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-09-22 12:24:57 UTC
*** Bug 148681 has been marked as a duplicate of this bug. ***
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-22 12:35:23 UTC
*** Bug 148681 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-09-28 00:17:29 UTC
*** Bug 149375 has been marked as a duplicate of this bug. ***
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-28 00:23:08 UTC
Reopening to reassign.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-28 00:23:49 UTC
Closing again.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 07:41:59 UTC
*** Bug 149622 has been marked as a duplicate of this bug. ***