Onde o CUPS espera encontrar libgs?

0

Tentando instalar uma impressora Panasonic KX-MB2030. Encontrei um PPD, encontrei o filtro, mas o CUPS barfs com:

Edite 2018-05-30 para mensagens atualizadas do CUPS e informações adicionais do sistema:

2018-05-30:

CUPS Job Report:
job-state                   0x6
job-state-reasons           cups-filter-crashed
job-printer-state-message   (PID 24228) Cannot load libgs or libgs version too old then 8.0
job-printer-state-reasons   none

# /usr/lib/cups/filter/L_H0JDGCZAZ
DEBUG: (PID 24359) Start Panasonic GDI filter on /usr/lib/cups/filter/L_H0JDGCZAZ
ERROR: (PID 24359) Usage: /usr/lib/cups/filter/L_H0JDGCZAZ job user title copies options [filename]
Segmentation fault

# ldd /usr/lib/cups/filter/L_H0JDGCZAZ
        linux-gate.so.1 =>  (0xf77ed000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf77a3000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf779e000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf76b6000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7670000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7653000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74a1000)
        /lib/ld-linux.so.2 (0x565e5000)

# tail /var/log/syslog
May 30 14:47:50 anon kernel: [8378684.170684] L_H0JDGCZAZ[24359]: segfault at 8 ip 000000000804a7a4 sp 00000000ffd8e660 error 4 in L_H0JDGCZAZ[8048000+7b000]

# ll /usr/lib/libgs*
lrwxrwxrwx 1 root root       20 Dec 11  2013 /usr/lib/libgslcblas.so.0 -> libgslcblas.so.0.0.0
-rw-r--r-- 1 root root   309224 Dec 11  2013 /usr/lib/libgslcblas.so.0.0.0
lrwxrwxrwx 1 root root       16 Dec 11  2013 /usr/lib/libgsl.so.0 -> libgsl.so.0.17.0
-rw-r--r-- 1 root root  2488056 Dec 11  2013 /usr/lib/libgsl.so.0.17.0
lrwxrwxrwx 1 root root       21 Jun 28  2016 /usr/lib/libgssdp-1.0.so.3 -> libgssdp-1.0.so.3.0.0
-rw-r--r-- 1 root root    56472 Mar 20  2014 /usr/lib/libgssdp-1.0.so.3.0.0
lrwxrwxrwx 1 root root       22 Dec  6 19:52 /usr/lib/libgs.so -> /usr/lib/libgs.so.9.10
lrwxrwxrwx 1 root root       13 Apr 23 14:39 /usr/lib/libgs.so.9 -> libgs.so.9.10
-rw-r--r-- 1 root root 11928192 Apr 23 14:40 /usr/lib/libgs.so.9.10


Orig Mesg:
Idle - (PID 20148) Cannot load libgs or libgs version too old then 8.0

Encontrou este post antigo:

link

Mas ligando as libgs atuais ao libgs.so

ln -s /usr/lib/libgs.so.9.10 /usr/lib/libgs.so

ainda resulta no erro.

Como FYI:

link

PPDs em: mccgdi-2.0.8-i686/ppd

Filtrar em: mccgdi-2.0.8-i686/filter/L_H0JDGCZAZ

Antes de adicionar a impressora, copie o filtro para: /usr/lib/cups/filter

Outras referências:

# aptitude show libgs9
Package: libgs9
State: installed
Automatically installed: yes
Version: 9.10~dfsg-0ubuntu10.10
Priority: optional
Section: libs
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Uncompressed Size: 12.2 M
Depends: libc6 (>= 2.14), libcups2 (>= 1.4.0), libcupsimage2 (>= 1.4.0), libfontconfig1 (>= 2.9.0), libfreetype6 (>=
         2.2.1), libidn11 (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 (>= 0.11), libjpeg8 (>= 8c), liblcms2-2 (>= 2.5),
         libpaper1, libpng12-0 (>= 1.2.13-4), libtiff5 (>= 4.0.3), zlib1g (>= 1:1.1.4), poppler-data (>= 0.4.5-3~) |
         gs-cjk-resource, libgs9-common (>= 9.10~dfsg)
Conflicts: libgs9
Description: interpreter for the PostScript language and for PDF - Library
 GPL Ghostscript is used for PostScript/PDF preview and printing. Usually as a back-end to a program such as ghostview, it
 can display PostScript and PDF documents in an X11 environment.

 This package provides the Ghostscript library which makes the facilities of GPL Ghostscript available to applications.
Homepage: http://www.ghostscript.com/

# dpkg -L libgs9
/.
/usr
/usr/lib
/usr/lib/libgs.so.9.10
/usr/share
/usr/share/doc
/usr/share/doc/libgs9
/usr/share/doc/libgs9/changelog.Debian.gz
/usr/share/doc/libgs9/copyright
/usr/share/doc/libgs9/NEWS.Debian.gz
/usr/lib/libgs.so.9

ldd completo:

# ldd -v /usr/lib/cups/filter/L_H0JDGCZAZ
    linux-gate.so.1 =>  (0xf776c000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7722000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf771d000)
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7635000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75ef000)
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75d2000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7420000)
    /lib/ld-linux.so.2 (0x565c5000)

    Version information:
    /usr/lib/cups/filter/L_H0JDGCZAZ:
            libgcc_s.so.1 (GCC_3.0) => /lib/i386-linux-gnu/libgcc_s.so.1
            libdl.so.2 (GLIBC_2.1) => /lib/i386-linux-gnu/libdl.so.2
            libdl.so.2 (GLIBC_2.0) => /lib/i386-linux-gnu/libdl.so.2
            libm.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libm.so.6
            libstdc++.so.6 (CXXABI_1.3) => /usr/lib/i386-linux-gnu/libstdc++.so.6
            libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/i386-linux-gnu/libstdc++.so.6
            libpthread.so.0 (GLIBC_2.1) => /lib/i386-linux-gnu/libpthread.so.0
            libpthread.so.0 (GLIBC_2.0) => /lib/i386-linux-gnu/libpthread.so.0
            libc.so.6 (GLIBC_2.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libc.so.6
    /lib/i386-linux-gnu/libpthread.so.0:
            ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
            ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
            ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
            libc.so.6 (GLIBC_2.3.2) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_PRIVATE) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.2) => /lib/i386-linux-gnu/libc.so.6
    /lib/i386-linux-gnu/libdl.so.2:
            ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
            libc.so.6 (GLIBC_PRIVATE) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libc.so.6
    /usr/lib/i386-linux-gnu/libstdc++.so.6:
            ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
            libm.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libm.so.6
            libgcc_s.so.1 (GCC_4.2.0) => /lib/i386-linux-gnu/libgcc_s.so.1
            libgcc_s.so.1 (GLIBC_2.0) => /lib/i386-linux-gnu/libgcc_s.so.1
            libgcc_s.so.1 (GCC_3.3) => /lib/i386-linux-gnu/libgcc_s.so.1
            libgcc_s.so.1 (GCC_3.0) => /lib/i386-linux-gnu/libgcc_s.so.1
            libc.so.6 (GLIBC_2.4) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.18) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.3.4) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.17) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.3.2) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.2) => /lib/i386-linux-gnu/libc.so.6
    /lib/i386-linux-gnu/libm.so.6:
            ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
            libc.so.6 (GLIBC_2.1.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_PRIVATE) => /lib/i386-linux-gnu/libc.so.6
    /lib/i386-linux-gnu/libgcc_s.so.1:
            libc.so.6 (GLIBC_2.2.4) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.1.3) => /lib/i386-linux-gnu/libc.so.6
            libc.so.6 (GLIBC_2.0) => /lib/i386-linux-gnu/libc.so.6
    /lib/i386-linux-gnu/libc.so.6:
            ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
            ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
            ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
    
por Michael 07.12.2017 / 04:10

0 respostas