Bugzilla – Bug 676897
CUPS x86_64 binaries in /usr/lib/ (up to openSuSE 11.2 they were falsely in /usr/lib64/)
Last modified: 2011-03-11 11:22:43 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13 In openSuSE 11.2 the CUPS libraries and related files where in the correct place on a x86_64 machine, in /usr/lib64/. Now as of openSuSE 11.3 the CUPS x86_64 libraries and related files are in /usr/lib/ which is the wrong place based on architecture. This causes a problem when installing HP Linux Imaging and Printing from hplipopensource.com to get the latest version and drivers and not use the packages supplied with the openSuSE distribution The package from hplipopensource.com puts the files in the correct place /usr/lib64/, but all the openSuSE provided ones are in the wrong place, /usr/lib/. This causes a problem because the version of CUPS in the openSuSE distribution expects them in /usr/lib/ and when they can't be found, you guessed it, you can't print. The quick fix is/was to link them from /usr/lib64/ to /usr/lib/ but that is not the proper way to do things based on architecture. Reproducible: Always Steps to Reproduce: 1. Install openSuSE 11.3 CUPS and HP Linux Imaging and Printing 3.11 2. Reinstall openSuSE 11.3 CUPS and HP Linux Imaging and Printing 3.11 3. Update openSuSE 11.3 CUPS and HP Linux Imaging and Printing 3.11 Actual Results: Puts the libraries and related files in the wrong place, /usr/lib/. Expected Results: Put the libraries and related files in the correct place, /usr/lib64/ based on architecture.
CUPS libraries are correctly in /usr/lib64/ on x86_64. CUPS binaries and other stuff is now correctly in /usr/lib/ in any case. See https://bugzilla.novell.com/show_bug.cgi?id=575544#c2 and see "Compliance with Upstream CUPS" at http://en.opensuse.org/Portal:Printing When you use our packages for openSUSE 11.3, you get them installed at the right place, see https://bugzilla.novell.com/show_bug.cgi?id=575544#c7 If you like to install packages from the openSUSE development project "Printing", have the project description in mind: https://build.opensuse.org/project/show?project=Printing ---------------------------------------------------------------- The "Printing" project may contain new, upcoming software. Therefore the packages in the "Printing" project might neither be in a stable state nor fit well into currently installed systems. Have this in mind if you think about to install packages from the "Printing" project into your currently running system. ---------------------------------------------------------------- Third party software for CUPS (e.g. third party printer drivers) should not blindly install their files into whatever hardcoded directory. Instead they should run /usr/bin/cups-config to query CUPS about its actual directories, e.g. /usr/bin/cups-config --serverbin Think about a 32-bit CUPS installation on a x86_64 system or a self-compiled CUPS from upstream on a x86_64 system. *** This bug has been marked as a duplicate of bug 575544 ***
I filed this bug at upstream HPLIP so that they could fix their installer: https://bugs.launchpad.net/hplip/+bug/731825 If you need HPLIP 3.11.1 for openSUSE 11.3 x86_64, you may use it from our openSUSE development project "Printing" (but have in mind what I wrote above): http://download.opensuse.org/repositories/Printing/openSUSE_11.3/x86_64/ Additionally have a look at http://en.opensuse.org/SDB:How_to_set-up_a_HP_printer in particular note ----------------------------------------------------------------- Make sure that the packages which provide the HPLIP software come from one same repository (i.e. do not mix packages from PackMan with those from openSUSE). You can check the repository of the package in Versions tab of YaST's software management. openSUSE provides HPLIP in the packages hplip and hplip-hpijs but PackMan provides HPLIP in the packages hplip and hplip-hpcups. -----------------------------------------------------------------
OK now I'm more confused then ever. On openSuSE 11.2 I use cups x86_64 and it puts all it's stuff in /usr/lib64/cups/ and there is no /usr/lib/cups/ at all. On openSuSE 11.3 I use cups x86_64 and it puts all it's stuff in /usr/lib/cups/ *not* in /usr/lib64/cups/ like it did in 11.2 and not according to the architecture. I expect x86_64 packages to put there stuff in lib64 not lib. It did that in 11.2 but does not do that in 11.3. Am I wrong in expecting that? That is the problem in 11.3 when I installed the x86_64 HPLIP stuff, it put it's stuff in lib64 but cups was in lib. Who's wrong here? x86_64 stuff in lib64 and non x86_64 stuff in lib?? Right?
You need to distiguish if "stuff" is a library or something else. You are right when expecting that libraries get installed in architecture specific directories. You are wrong in expecting that any "stuff" gets installed in architecture specific directories. See what I wrote in comment #1: ---------------------------------------------------------------- See https://bugzilla.novell.com/show_bug.cgi?id=575544#c2 and see "Compliance with Upstream CUPS" at http://en.opensuse.org/Portal:Printing ---------------------------------------------------------------- Please do read the provided information before reopening bugs. Note that the Novell/Suse Bugzilla is a bug-tracking tool and not meant as some kind of forum for general issues, have a look at http://en.opensuse.org/openSUSE:Submitting_bug_reports For general issues, you may use our mailing lists, see http://en.opensuse.org/openSUSE:Mailing_lists *** This bug has been marked as a duplicate of bug 575544 ***