Thank you Jeff for your persistent effort in tracking down the bug. It
has given me a workaround to run gscan2pdf.
As advised, I will raise a separate request for libsane.
On 21/11/23 02:47, Jeff wrote:
On 20/11/2023 17:51, Soumyanath Chatterjee wrote:
soumyanath@ganak-desktop:~$
On 20/11/2023 17:51, Soumyanath Chatterjee wrote:
soumyanath@ganak-desktop:~$ LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/
gscan2pdf
This one works.
Please suggest what changes I need to make to run it normally
For me, this isn't a problem with gscan2pdf, but with the way that
libsane was
On 20/11/23 17:03, Jeff wrote:
What about:
sudo ldconfig
cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf
If you start gscan2pdf as follows:
LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/ gscan2pdf
?
Can you start xsane, simple-scan or scanimage ?
soumyanath@ganak-desktop:~$ sudo ldconfig
[sudo]
What about:
sudo ldconfig
cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf
If you start gscan2pdf as follows:
LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/ gscan2pdf
?
Can you start xsane, simple-scan or scanimage ?
OpenPGP_signature.asc
Description: OpenPGP digital signature
On 19/11/23 21:35, Jeff wrote:
It looks like the version of libusb libsane was built against is not
the same as the one you are running with.
There are some similarities here:
https://askubuntu.com/questions/1264001/error-installing-xsane-sane-hplip-etc-with-undefined-symbol-libusb-set-optio
It looks like the version of libusb libsane was built against is not the
same as the one you are running with.
There are some similarities here:
https://askubuntu.com/questions/1264001/error-installing-xsane-sane-hplip-etc-with-undefined-symbol-libusb-set-optio
What does the following
On 19/11/23 16:15, Jeff wrote:
Please reinstall the packages:
sudo apt reinstall libsane1 libimage-sane-perl
and try to start gscan2pdf again.
This is what I get
soumyanath@ganak-desktop:~$ gscan2pdf
Can't load
'/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Image/Sane/Sane.so' for
module
Please reinstall the packages:
sudo apt reinstall libsane1 libimage-sane-perl
and try to start gscan2pdf again.
OpenPGP_signature.asc
Description: OpenPGP digital signature
Please find the responses in red.
On 16/11/23 02:22, jeff wrote:
On 15/11/2023 12:19, Soumyanath Chatterjee wrote:
I find line 8 is commented out
I take it, therefore, that you didn't comment out the line yourself
sometime in the past?
How did you install gscan2pdf?
I am not very
On 15/11/2023 12:19, Soumyanath Chatterjee wrote:
I find line 8 is commented out
I take it, therefore, that you didn't comment out the line yourself
sometime in the past?
How did you install gscan2pdf?
ls -l /usr/lib/x86_64-linux-gnu/libsane.so.1
lrwxrwxrwx 1 root root 17 Sep 17 2020
Please find response to your questions below (in blue )
Regards
Soumyanath Chatterjee / FIE, FIIE/
/
/
On 13/11/23 22:46, Jeff wrote:
On 13/11/2023 16:24, Soumyanath Chatterjee wrote:
DB<1> use Image::Sane ':all';
Can't load
On 13/11/2023 16:24, Soumyanath Chatterjee wrote:
DB<1> use Image::Sane ':all';
Can't load
'/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Image/Sane/Sane.so' for
module Image::Sane: /usr/lib/x86_64-linux-gnu/libsane.so.1: undefined
symbol: l
ibusb_set_option at /usr/share/perl/5.30/XSLoader.pm
Please find the output:
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
main::(-e:1): l
DB<1> use Image::Sane ':all';
Can't load
'/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Image/Sane/Sane.so' for
module Image::Sane:
Please start an interactive Perl session with:
perl -d -e 1
Then execute the following:
use Image::Sane ':all';
print SANE_NAME_PAGE_HEIGHT, "\n";
and report the response.
Afterwards, you can quit with q
OpenPGP_signature.asc
Description: OpenPGP digital signature
Tried running it but no log file is generated. Here is the console output:
soumyanath@ganak-desktop:~$ gscan2pdf --log=log
Bareword "SANE_NAME_SCAN_TL_X" not allowed while "strict subs" in use at
/usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 128.
Bareword "SANE_NAME_SCAN_TL_Y" not allowed
Please start gscan2pdf from the command line with the --log option:
gscan2pdf --log=log
then quit, and post the log file, which gscan2pdf should have compressed
with xz.
OpenPGP_signature.asc
Description: OpenPGP digital signature
Thank you for your prompt reply. I run gscan2pdf from command prompt to
get the error list.
Here is the output you wanted:
$apt list libimage-sane-perl
Listing... Done
libimage-sane-perl/focal,now 5-1 amd64 [installed,automatic]
Please note: I do not have any scanner connected with my
How are you starting gscan2pdf?
What does the following return?
apt list libimage-sane-perl
Regards
Jeff
OpenPGP_signature.asc
Description: OpenPGP digital signature
Package: gscan2pdf
Version: 2.13.2-0~ppa1focal
OS: Kubuntu 20.04
Other details: No scanner is attached with the computer. I use gscan2pdf
for stitching images scanned by a handheld scanner. The program worked
perfectly till last Aug'23.
Problem: gscan2pdf fails at command with the
19 matches
Mail list logo