@Potomac, the problem has nothing to do with capt-src
, but rather with libxml2
, and its version update. The version of some packages, such as libglade
, a dependency of capt-src
that also itself depends on libxml2
, or capt-src
itself, that is installed on your system is linked against the older version of libxml2, and so it is looking for a version that no longer exists currently. Doing a rebuild of libglade
and capt-src
, so that they link against the newer version, will solve your issue.
Search Criteria
Package Details: capt-src 2.71-7
Package Actions
Git Clone URL: | https://aur.archlinux.org/capt-src.git (read-only, click to copy) |
---|---|
Package Base: | capt-src |
Description: | Canon CAPT Printer Driver for Linux. Compiled from source code. |
Upstream URL: | http://support-asia.canon-asia.com/ |
Keywords: | canon capt printer |
Licenses: | custom |
Conflicts: | cndrvcups-common-lb, cndrvcups-lb |
Submitter: | reztho |
Maintainer: | mistersmee |
Last Packager: | mistersmee |
Votes: | 79 |
Popularity: | 0.74 |
First Submitted: | 2010-08-29 20:28 (UTC) |
Last Updated: | 2025-05-28 09:30 (UTC) |
Dependencies (13)
- atk (at-spi2-core-gitAUR, at-spi2-core)
- cups (cups-gitAUR, cups-gssapiAUR)
- ghostscript
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR)
- lib32-libcups
- lib32-libxml2-legacyAUR
- lib32-popt
- libgladeAUR
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- popt (popt-gitAUR)
Required by (0)
Sources (2)
mistersmee commented on 2025-05-06 08:51 (UTC) (edited on 2025-05-06 08:59 (UTC) by mistersmee)
Potomac commented on 2025-05-06 08:05 (UTC) (edited on 2025-05-06 08:06 (UTC) by Potomac)
Since a recent upgrade of libxml2 package (64 and 32 bit versions) capt-src package no longer works,
a workaround is to make these 2 actions before trying to compile :
1) Install this package from official Arch Linux repo :
pacman -S libxml2-legacy
2) Then create a symbolic link (with sudo) : ln -s /usr/lib32/libxml2.so /usr/lib32/libxml2.so.2
Then restart cups and ccpd service.
Another alternative is to check the progress of the open-source drive for LBP canon printers : https://aur.archlinux.org/packages/captdriver-git https://github.com/mounaiban/captdriver/wiki
mistersmee commented on 2024-09-16 07:20 (UTC)
@igvalor, I cannot reproduce your error, both while building in a chroot and not.
igvalor commented on 2024-09-15 19:30 (UTC)
Build fails with error:
./configure: line 14902: syntax error near unexpected token PACKAGE,'
./configure: line 14902:
PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'
ots commented on 2024-05-26 14:14 (UTC)
Thanks everything works fine
mistersmee commented on 2024-05-26 12:53 (UTC)
@ots, I have updated the package with latest pkgrel -5, please test if it builds and the printer works properly on your machine.
ots commented on 2024-05-26 10:31 (UTC)
I have installed this package dozens of times without any significant problems, but recently I have received the following errors: https://pastebin.com/JgL4HUBH Any suggestions to solve the problem?
mistersmee commented on 2022-07-17 10:26 (UTC) (edited on 2022-07-17 10:43 (UTC) by mistersmee)
@zwastik, The cndrvcups-common-lb , cnrdrvcups-lb and cndrvcups-lb packages provide a different sets of drivers than capt. All of those three provide the UFR II drivers for Canon printers, which is different from the CAPT drivers.
As replied by LoneWolf, the maintainer of all the other three packages in 2016 to a similar comment,
'capt-src also uses cndrvcups-common, though another version then this package. If you really need both capt & UFR II AL drivers,you're the first in 5+ years.'
and
'While both cndrvcups-capt[1] and cndrvcups-lb use cndrvcups-common, they are targeted towards a specific version . latest cndrvcups-lb 3.40 uses cndrvcups-common 3.80 , latest capt 2.71 uses cndrvcups-common 3.21.1 . There have been times that they shared the same version, but that is rare. Using a different version then the one canon supplies in the driver download doesn't work. To allow capt-src to be installed alongside cndrvcups-lb or cndrvcups-lb-bin , the 3 maintainers would need to decide on a mechanism that allows multiple cndrvcups-common versions to be installed at same time. [1] cndrvcups-capt is the name canon uses for the capt printer driver'
So, they are not meant to be installed at the same time, if one works for you use that one, otherwise try the other one. Maybe I should add them as conflicts for this.
See https://wiki.archlinux.org/title/CUPS/Printer-specific_problems#Canon for more information.
zwastik commented on 2022-07-16 17:14 (UTC)
There are conflicting files between this pkg and cndrvcups-common-lb. See Canon_CAPT talk page
Pinned Comments
reztho commented on 2020-06-11 14:55 (UTC) (edited on 2020-06-11 18:47 (UTC) by reztho)
Do not expect this driver to work in the near future if Canon doesn't release a new version soon. This driver is from 2017 and the GCC environment started deprecating a lot of stuff used by this driver. Please, ask for better Linux support to Canon.
Do not flag this package out of date if there's no new version available. That's bad community behavior. A comment telling about the issue is enough.
If your machine uses the x86_64 arch, the multilib pacman repo will be needed for this driver: https://wiki.archlinux.org/index.php/Official_repositories#multilib
For an alternative 100% open source driver although not official by Canon, go to: https://aur.archlinux.org/packages/captdriver-git/
buovjaga commented on 2020-01-09 10:33 (UTC)
Re: driver deprecation - the CUPS creator opened this issue to discuss how to handle old devices: https://github.com/apple/cups/issues/5271
From one of his comments: "Before we drop PPDs, we will be working with developers to create those printer applications (particularly Gutenprint), and will likely end up creating our own printer application (based on the existing ippserver sample code) to support existing PostScript and CUPS raster drivers. So the goal is definitely not to leave people SOL, but rather to plan for a future where we aren't limited by the capabilities of the past."
reztho commented on 2019-10-06 11:44 (UTC)
Now you'll see this warning message: lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Not sure what this will mean for the future with this driver.