Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2024 05:54:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280388] print/epson-inkjet-printer-escpr2: when DEFAULT_VERSIONS+= linux=rl9, printing is not possible
Message-ID:  <bug-280388-7788-4NxZWe9d0s@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280388-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280388-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280388

--- Comment #1 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
If the two executable binaries installed in
/compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter try to be
executed directly, the following error will occur

ELF interpreter /lib64/ld-lsb-x86-64.so.3 not found, error 2
Abort

The way to solve this is to create a symlink that I have already mentioned,=
 but
this affects all Linux binary ports.
The question is by what port this symlink should be created on.

If an individual port attempts to resolve this issue, it can also be done in
the following ways

Install patchelf(sysutils/patchelf).
Use the following command to rewrite the ELF header.

patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 \

/compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr-w=
rapper2
\
 /compat/linux/opt/epson-inkjet-printer-escpr2/cups/lib/filter/epson-escpr2

This makes the binary executable again, but it is interesting that the resu=
lt
of readelf -l has been changed not only to rewrite INTERP...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280388-7788-4NxZWe9d0s>