Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119980 - k3b flac decoder doesn't get loaded
Summary: k3b flac decoder doesn't get loaded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 14:06 UTC by Andy Neitzke
Modified: 2006-01-23 16:30 UTC (History)
1 user (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 Andy Neitzke 2006-01-22 14:06:00 UTC
With the packages

app-cdr/k3b-0.12.10  +alsa +arts -css -debug +dvdr +encode +ffmpeg +flac +hal +kde +mp3 -musepack +musicbrainz -sndfile -vcd +vorbis +xinerama

media-libs/flac-1.1.2-r3  (-3dnow) -debug +doc +ogg (-sse) +xmms


I am not able to write FLAC files to audio CDs in k3b.  The "configure plugins" dialog does not show any sign of the FLAC decoder plugin.  The plugin does seem to have been built, though -- during the configure process a message indicates that FLAC support will be included, and after the install I do have files

/usr/share/apps/k3b/plugins/k3bflacdecoder.plugin
/usr/lib64/kde3/libk3bflacdecoder.so
/usr/lib64/kde3/libk3bflacdecoder.la


"emerge info" gives:

Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=k8 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-pipe -O2 -march=k8 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dar64 dbus dga directfb doc dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 ivman java jpeg junit kde kdeenablefinal lcms libwww live lm_sensors lua lzw lzw-tiff mad mhash mng motif mozilla mp3 mpeg musicbrainz mysql ncurses nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python qt quicktime readline real rtc ruby samba sdl spell sqlite ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wav xine xinerama xml xml2 xmms xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2006-01-23 08:32:20 UTC
Works for me on x86 with k3b 0.12.10 and flac 1.1.2-r4. 

What does /usr/share/apps/k3b/plugins/k3bflacdecoder.plugin contain?

Any error-messages if you start k3b from the commandline?
Comment 2 Andy Neitzke 2006-01-23 15:47:13 UTC
No error messages on the console.

/usr/share/apps/k3b/plugins/k3bflacdecoder.plugin contains:

[K3b Plugin]
Lib=libk3bflacdecoder
Group=AudioDecoder
Name=K3b FLAC Decoder
Author=John Steele Scott
Email=toojays@toojays.net
Version=2.1
Comment=Decoding module to decode FLAC files
Licence=GPL

One possible clue:  

"ldd /usr/lib64/kde3/libk3bflacdecoder.so" gives

        libk3b.so.2 => /usr/lib64/libk3b.so.2 (0x00002aaaaabb7000)
        libsamplerate.so.0 => /usr/lib64/libsamplerate.so.0 (0x00002aaaaae99000)
        libk3bdevice.so.2 => /usr/lib64/libk3bdevice.so.2 (0x00002aaaaafb5000)
        libkio.so.4 => /usr/kde/3.5/lib64/libkio.so.4 (0x00002aaaab0e4000)
        libkdesu.so.4 => /usr/kde/3.5/lib64/libkdesu.so.4 (0x00002aaaab5bc000)
        libkwalletclient.so.1 => /usr/kde/3.5/lib64/libkwalletclient.so.1 (0x00002aaaab6d6000)
        libfam.so.0 => /usr/lib64/libfam.so.0 (0x00002aaaab7ea000)
        libhal.so.1 => /usr/lib64/libhal.so.1 (0x00002aaaab8f2000)
        libdbus-qt-1.so.1 => /usr/lib64/libdbus-qt-1.so.1 (0x00002aaaab9fb000)
        libdbus-1.so.2 => /usr/lib64/libdbus-1.so.2 (0x00002aaaabb0e000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaabc63000)
        libkdeui.so.4 => /usr/kde/3.5/lib64/libkdeui.so.4 (0x00002aaaabd79000)
        libkdecore.so.4 => /usr/kde/3.5/lib64/libkdecore.so.4 (0x00002aaaac235000)
        libDCOP.so.4 => /usr/kde/3.5/lib64/libDCOP.so.4 (0x00002aaaac5ef000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002aaaac72b000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002aaaac840000)
        libart_lgpl_2.so.2 => /usr/lib64/libart_lgpl_2.so.2 (0x00002aaaac943000)
        libidn.so.11 => /usr/lib64/libidn.so.11 (0x00002aaaaca5b000)
        libkdefx.so.4 => /usr/kde/3.5/lib64/libkdefx.so.4 (0x00002aaaacb8d000)
        libqt-mt.so.3 => /usr/qt/3/lib64/libqt-mt.so.3 (0x00002aaaaccba000)
        libmng.so.1 => /usr/lib64/libmng.so.1 (0x00002aaaad5ed000)
        liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00002aaaad759000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002aaaad88f000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00002aaaad9b0000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00002aaaadab9000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00002aaaadbbc000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00002aaaadcc6000)
        libXft.so.2 => /usr/lib64/libXft.so.2 (0x00002aaaaddc9000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00002aaaadedd000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002aaaae01c000)
        libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x00002aaaae18e000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaae2b1000)
        libpng.so.3 => /usr/lib64/libpng.so.3 (0x00002aaaae3b4000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002aaaae4eb000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002aaaae5fc000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00002aaaae7dd000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00002aaaae8e8000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaea03000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00002aaaaeb98000)
        libFLAC++.so.5 => /usr/lib64/libFLAC++.so.5 (0x00002aaaaeca2000)
        libFLAC.so.7 => /usr/lib64/libFLAC.so.7 (0x00002aaaaedc1000)
        libtag.so.1 => /usr/lib64/libtag.so.1 (0x00002aaaaeef4000)
        libz.so.1 => /lib/libz.so.1 (0x00002aaaaf04b000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so.6 (0x00002aaaaf15f000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaaf34f000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaaf4d6000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0x00002aaaaf6fc000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libFLAC.so.6 => not found

Note the last line -- I do have libFLAC.so.7 (which appears earlier in that listing) but not libFLAC.so.6.  It seems odd to me that it wants both -- could that be the trouble?
Comment 3 Andy Neitzke 2006-01-23 16:30:55 UTC
Looks like my flac installation was just broken somehow; upgrading to flac 1.1.2-r4 fixed it.  Sorry for the trouble.