CUPS and 32bit shared libraries

  • Hello!
    I dublicate my question on stackoverflow: https://stackoverflow.com/ques…ded-shared-library-debian


    So, here is my issue.
    XeroxPhaser3100 MFP has only 32-bit drivers. I want to use it with CUPS on my openmediavault (NAS) based on Debian. The OS is 64bit.


    I install drivers like in this manual https://wiki.archlinux.org/index.php/Xerox_Phaser_3100MFP only changing arch commands to debian commands. On this link there is a help how to avoid the following error (this error happened to me too):


    Zitat

    Error: /usr/lib/cups/filter/rastertoprinter failed /var/log/cups/error.log


    shows:

    Code
    Error: [Job 1] /usr/lib/cups/filter/rastertoprinter: line 14: /usr/lib/cups/filter/rastertoprinterbin: No such file or directory`


    readelf -d /usr/lib/cups/filter/rastertoprinterbin shows me

    Code
    Dynamic section at offset 0x10314 contains 25 entries:
      Tag        Type                         Name/Value
     0x00000001 (NEEDED)                     Shared library: [libcupsimage.so.2]
     0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
     0x00000001 (NEEDED)                     Shared library: [libm.so.6]
     0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
     0x00000001 (NEEDED)                     Shared library: [libc.so.6]
     0x00000001 (NEEDED)                     Shared library: [libcups.so.2]


    With apt-get install ia32-libs I install proper libraries and now I have these libraries, that are NEEDED. But I don't know what should I do to load them, to make system understand, that these libraries are installed. What should I do? On that manual there is a sentense:


    Zitat

    Note: If you driver binary is linked against other libraries (or versions) you need to install them and create proper symlinks. See this.


    Under "See this" they mean the following:

    Zitat

    First of all, check if this library is installed properly. Then check symlinks. Also you may need to run ldconfig after symlinks creation.


    ldconfig -v shows this:


    PS. command ln -s /usr/lib32/libc.so /usr/lib32/libc.so.2 (as it is written in manual) made a symlink but the NEEDED shared library is still NEEDED.
    So, I still have the error:

    Code
    Error: [Job 1] /usr/lib/cups/filter/rastertoprinter: line 14: /usr/lib/cups/filter/rastertoprinterbin: No such file or directory`


    And still NEEDED shared libraries:

    Code
    Dynamic section at offset 0x10314 contains 25 entries:
      Tag        Type                         Name/Value
     0x00000001 (NEEDED)                     Shared library: [libcupsimage.so.2]
     0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
     0x00000001 (NEEDED)                     Shared library: [libm.so.6]
     0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
     0x00000001 (NEEDED)                     Shared library: [libc.so.6]
     0x00000001 (NEEDED)                     Shared library: [libcups.so.2]


    Here is my question: What symlinks should I make and how? Or what should I do to make system understand the NEEDED shared libraries?
    Thank you in advance.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!