LSB-based executable (printer driver) aborts with "No such file or directory"

Bug #840998 reported by Yannick Le Guen on 2011-09-04
This bug report is a duplicate of:  Bug #837745: broken ld-lsb* symlinks. Edit Remove
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
lsb (Ubuntu)
Critical
Unassigned

Bug Description

I'm using an updated Ubuntu 11.10 beta 1 (amd64).

I have an Epson SX420W printer/scanner. I tried both the free and the proprietary drivers that Jockey displayed, and I tried to connect the printer with both USB and network.

In every case, the drivers are installed correctly and the printer looks ready, but each time I start a print job, I have the following notification : "Printer EPSON - Epson SW420W series may not be connected".
The strange thing is that the scanner works fine with SimpleScan.

In Ubuntu 11.04, with cups 1.4.6, I use the same proprietary driver that is proposed in Oneiric, and everything works fine.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cups 1.5.0-5
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sun Sep 4 15:09:59 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
Lpstat: device for EPSON-Epson-Stylus-SX420W: dnssd://EPSON24AF57%20(Epson%20Stylus%20SX420W)._printer._tcp.local/
MachineType: TOSHIBA Satellite L550
Papersize: a4
PpdFiles: EPSON-Epson-Stylus-SX420W: Epson Stylus SX420W Series - epson-inkjet-printer 1.0.0-1lsb3.2 (Seiko Epson Corporation LSB 3.2)
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-10-generic root=UUID=f46a9835-9ee1-4b8e-bcfa-0824d96d2045 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/18/2009
dmi.bios.vendor: TOSHIBA
dmi.bios.version: V1.90
dmi.board.name: KTWAA
dmi.board.vendor: TOSHIBA
dmi.board.version: 1.00
dmi.chassis.asset.tag: *
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnTOSHIBA:bvrV1.90:bd12/18/2009:svnTOSHIBA:pnSatelliteL550:pvrPSLW8E-00Q00MFR:rvnTOSHIBA:rnKTWAA:rvr1.00:cvnTOSHIBA:ct10:cvrN/A:
dmi.product.name: Satellite L550
dmi.product.version: PSLW8E-00Q00MFR
dmi.sys.vendor: TOSHIBA
mtime.conffile..etc.cups.cupsd.conf: 2011-09-04T14:02:26.093735

Changed in cups (Ubuntu):
status: New → Confirmed
Till Kamppeter (till-kamppeter) wrote :

Can you please follow the instructions in the section "CUPS error_log" of https://wiki.ubuntu.com/DebuggingPrintingProblems. Thanks.

Changed in cups (Ubuntu):
status: Confirmed → Incomplete

I followed the instructions that you gave me.
I join the error_log file and also a screenshot while trying to print a test page with the proprietary driver with a wireless connection.

Till Kamppeter (till-kamppeter) wrote :

Your error_log contains the line

D [16/Sep/2011:18:53:42 +0200] PID 17032 (/opt/epson-inkjet-printer-nx420/cups/lib/filter/epson_inkjet_printer_filter) stopped with status 102 (No such file or directory)

Is your Epson driver package correctly installed? Does the required filter executable

/opt/epson-inkjet-printer-nx420/cups/lib/filter/epson_inkjet_printer_filter

exist on your system?

Till Kamppeter (till-kamppeter) wrote :

If the file does not exist, run

sudo apt-get install --reinstall epson-inkjet-printer-nx420

in a terminal window.

Vicenç Juan Tomàs (vtomasr5) wrote :

I've the same problem. Driver is installed correctly and the scanner works fine.

Vicenç Juan Tomàs (vtomasr5) wrote :

Configuring the printer from Natty or Karmic works well, but in Oneiric fails.?field.comment=Configuring the printer from Natty or Karmic works well, but in Oneiric fails.

Till Kamppeter (till-kamppeter) wrote :

Vicenç, also you have

D [17/Sep/2011:11:45:25 +0200] PID 8989 (/opt/epson-inkjet-printer-nx420/cups/lib/filter/epson_inkjet_printer_filter) stopped with status 102 (No such file or directory)

in your error_log, so please follow my instructions in comments #5 and #6. Does this help?

Yes, the executable located at "/opt/epson-inkjet-printer-nx420/cups/lib/filter/epson_inkjet_printer_filter" exists on my system.

Vicenç Juan Tomàs (vtomasr5) wrote :

Yes, I checked. And the configuration file to point to the correct directory.

Problem is an outdated link set by the lsb-core package. Moving to the lsb-core package ...

As a fix for the time being until the fixed package gets available, please run the following command in a terminal window:

sudo ln -sf /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3

Changed in cups (Ubuntu):
status: Incomplete → Triaged
affects: cups (Ubuntu) → lsb (Ubuntu)
Changed in lsb (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10
summary: - Epson SX420W is declared as "not connected" when I want to print
+ LSB-based executable (printer driver) aborts with "No such file or
+ directory"

For amd64 systems the post-install script of lsb-core.postinst sets these links:

            ln -sf ld-linux.so.2 /lib/ld-lsb.so.1
            ln -sf ld-linux.so.2 /lib/ld-lsb.so.2
            ln -sf ld-linux.so.2 /lib/ld-lsb.so.3
            ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.2
            ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3

All these libraries do not exist in Oneiric. So the "lsb" package needs to get updated urgently as otherwise Oneiric will not be able to execute LSB-based packages at all. Especially manufacturer-supplied printer drivers are LSB-based.

Changed in lsb (Ubuntu):
importance: High → Critical

Thanks !
With the latest lsb updates, the issue is solved and I can print normally !

Adouzzy (adouzzy) wrote :

I am running ubuntu 16.04 beta 2.
This problem persists with epson workforce 435 printer.
After the symlink, the printer works fine.

neclepsio (neclepsio) wrote :

Adouzzy, which symlink? I tried to create as per comment #12 but it still does not work.

Paul Cunnell (paul-cunnell) wrote :

I has the same problem, on ubuntu 16.04 beta 2, and after much searching came across this report. I had installed lsb and the epson-inkjet-printer-201112w_1.0.0-1lsb3.2_amd64.deb from the Epson download site. Looking in /lib, there was just ld-linux.so.2, a symlink to -> i386-linux-gnu/ld-2.23.so.

So mostly following the steps in comment #13, I created the following symlinks:
cd /lib
ln -sf ld-linux.so.2 /lib/ld-lsb.so.3
ln -sf ld-linux.so.2 /lib/ld-lsb.so.2
ln -sf ld-linux.so.2 /lib/ld-lsb.so.1
ln -s /lib/x86_64-linux-gnu/ld-2.23.so /lib64/ld-lsb-x86-64.so.3
ln -s /lib/x86_64-linux-gnu/ld-2.23.so /lib64/ld-lsb-x86-64.so.2

...and as if by magic the printer kicked into life! Not sure these are all necessary, but hey, a few extra symlinks never hurt ;-)

Download full text (3.6 KiB)

Thank you! It works!
Il 17 apr 2016 8:10 PM, "Paul Cunnell" <email address hidden> ha
scritto:

> *** This bug is a duplicate of bug 837745 ***
> https://bugs.launchpad.net/bugs/837745
>
> I has the same problem, on ubuntu 16.04 beta 2, and after much searching
> came across this report. I had installed lsb and the epson-inkjet-
> printer-201112w_1.0.0-1lsb3.2_amd64.deb from the Epson download site.
> Looking in /lib, there was just ld-linux.so.2, a symlink to -> i386
> -linux-gnu/ld-2.23.so.
>
> So mostly following the steps in comment #13, I created the following
> symlinks:
> cd /lib
> ln -sf ld-linux.so.2 /lib/ld-lsb.so.3
> ln -sf ld-linux.so.2 /lib/ld-lsb.so.2
> ln -sf ld-linux.so.2 /lib/ld-lsb.so.1
> ln -s /lib/x86_64-linux-gnu/ld-2.23.so /lib64/ld-lsb-x86-64.so.3
> ln -s /lib/x86_64-linux-gnu/ld-2.23.so /lib64/ld-lsb-x86-64.so.2
>
> ...and as if by magic the printer kicked into life! Not sure these are
> all necessary, but hey, a few extra symlinks never hurt ;-)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/840998
>
> Title:
> LSB-based executable (printer driver) aborts with "No such file or
> directory"
>
> Status in lsb package in Ubuntu:
> Triaged
>
> Bug description:
> I'm using an updated Ubuntu 11.10 beta 1 (amd64).
>
> I have an Epson SX420W printer/scanner. I tried both the free and the
> proprietary drivers that Jockey displayed, and I tried to connect the
> printer with both USB and network.
>
> In every case, the drivers are installed correctly and the printer looks
> ready, but each time I start a print job, I have the following notification
> : "Printer EPSON - Epson SW420W series may not be connected".
> The strange thing is that the scanner works fine with SimpleScan.
>
> In Ubuntu 11.04, with cups 1.4.6, I use the same proprietary driver
> that is proposed in Oneiric, and everything works fine.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: cups 1.5.0-5
> ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
> Uname: Linux 3.0.0-10-generic x86_64
> NonfreeKernelModules: fglrx
> Architecture: amd64
> Date: Sun Sep 4 15:09:59 2011
> InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
> Lpstat: device for EPSON-Epson-Stylus-SX420W:
> dnssd://EPSON24AF57%20(Epson%20Stylus%20SX420W)._printer._tcp.local/
> MachineType: TOSHIBA Satellite L550
> Papersize: a4
> PpdFiles: EPSON-Epson-Stylus-SX420W: Epson Stylus SX420W Series -
> epson-inkjet-printer 1.0.0-1lsb3.2 (Seiko Epson Corporation LSB 3.2)
> ProcEnviron:
> PATH=(custom, no user)
> LANG=fr_FR.UTF-8
> SHELL=/bin/bash
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-10-generic
> root=UUID=f46a9835-9ee1-4b8e-bcfa-0824d96d2045 ro quiet splash vt.handoff=7
> SourcePackage: cups
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 12/18/2009
> dmi.bios.vendor: TOSHIBA
> dmi.bios.version: V1.90
> dmi.board.name: KTWAA
> dmi.board.vendor: TOSHIBA
> dmi.board.version: 1.00
> dmi.chassis.asset.tag: *
> dmi.chassis.type: 10
> dmi.chassis.vendor...

Read more...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers