Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148825 - kdeprint error: Library files for "kdeprint_cups.la" not found in paths
Summary: kdeprint error: Library files for "kdeprint_cups.la" not found in paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 11:56 UTC by Robin Bankhead
Modified: 2006-11-26 05:27 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 Robin Bankhead 2006-09-23 11:56:31 UTC
I had run a few updates before this came to light, but when attempting to print or opening the Peripherals/Printers section in kcontrol, I get an error dialog as follows:

There was an error loading kdeprint_cups. The diagnostic is:
Library files for "kdeprint_cups.la" not found in paths.

In the case of the Control Centre applet, the dialog appears 3 times in succession.  I have 4 printers currently defined (2 network, 2 local) one of which is CUPS-PDF.  Viewing the CUPS web interface all are still present and the one I actually use is still functional.

kdeprint_cups.la isn't present anywhere on my system, according to slocate.  Recent merges/unmerges that might be pertinent include:

kde-env-3-r4 unmerged (blocking kdelibs)
kdelibs-3.5.4-r2
ghostscript-esp-8.15.2_p20060520 and
cups-1.2.3 (these two during revdep-rebuild)
acroread-7.0.8 (seems unlikely but thought I'd mention it)

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 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 21 Sep 2006 18:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
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:     2.4-r6
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: 1.3.13-r3
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="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/wine"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /usr/share/wine/fonts"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
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/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 arts asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli crypt cups dbus dio dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac flash fortran gdbm gif gpm gstreamer gtk2 hal i8x0 ieee1394 imagemagick innodb input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg kde kernel_linux ldap libg++ libwww linguas_en_GB mad matroska mikmod mmx mp3 mpeg msn mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg opengl oss pam pcmcia pcntl pcre perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session sharedmem soap sockets spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 vcd vhosts video_cards_fbdev video_cards_i810 video_cards_vesa vorbis wifi win32codecs xcomposite xine xinerama xml xmlrpc xmms xorg xsl xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Please ask if any other information required.
Comment 1 Oldrich Jedlicka 2006-09-24 01:31:19 UTC
Same problem here. One printer defined. I tried to remerge kdeprint, but no success. My last update updated to cups-1.2.3 and kdelibs-3.5.4-r2. No file like kdeprint_cups.la found on the whole filesystem.

Debian search engine says that kdeprint_cups.la should be part of kdelibs, so I suggest the problem is in the new kdelibs-3.5.4-r2:

checking for cups-config... /usr/bin/cups-config
checking for cupsServer in -lcups... no
configure: WARNING: CUPS library not found. CUPS support disabled

I will try the start an emerge of kdelibs-3.5.4-r1 to see the difference.
Comment 2 Oldrich Jedlicka 2006-09-24 02:19:15 UTC
Remerging of kdelibs found CUPS:

checking for cups-config... /usr/bin/cups-config
checking for cupsServer in -lcups... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking CUPS version >= 1.0109... yes
checking CUPS version >= 1.0120... yes

I suggest this is a direct consequence of updating gnutls package that has new libgnutls.so.13 (old one had libgnutls.so.12), so few packages got broken (including CUPS). Update of kdelibs at the same time led to broken build of CUPS, so the support got disabled.

Remerge CUPS and kdelibs afterwords. It should work - I am doing so, CUPS was found, but I am still recompiling...
Comment 3 Oldrich Jedlicka 2006-09-24 02:52:57 UTC
Works for me now, no need to downgrade anything. Just recompile CUPS and kdelibs. Enjoy :-)
Comment 4 Guy 2006-09-24 13:08:40 UTC
Same problem here.

I'm in the process of remerging cups and kdelibs now.

Earlier, I ran revdep-rebuild to completion. Revdep-rebuild did not pick this up. Should it have? If so, I'll enter a bug.
Comment 5 Robin Bankhead 2006-09-25 03:12:06 UTC
Re-merging cups and kdelibs did the trick for me, thanks for the tip.  Given the time that wastes, though, it'd be good to prevent this if possible.  And re the above post, revdep-rebuild didn't catch it for me.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-11-26 05:27:41 UTC
can be found in the cups ebuild :)

        ewarn "You need to rebuild kdelibs for kdeprinter to work with cups-1.2"