<div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr">Aveek Basu <<a href="mailto:aveek.basu@lexmark.com">aveek.basu@lexmark.com</a>> schrieb am Mo., 7. Mai 2018, 14:08:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Olaf \ Suzuki \ <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Jörn</span>,<div><br></div><div>Thanks for all your response. Below are our observations with respect to Ubuntu 16.04(x64), 16.10<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">(x64)</span>, 17.10(x86) & 17.10(x64). Also mentioned are the workarounds which make things working:</div><div></div></div></blockquote></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">Hello Aveek,</div><div dir="auto">either creating a softlink, or manually copying the related lexmark-scanner libraries into the system-specific sane folder would do the trick, yes.</div><div dir="auto">However, the best way would be, if your install script would be kicked out and you use the package scripts for pre- and post installation as favourites and forced by Debian based system using .deb-packaging management (dpkg / apt).</div><div dir="auto"><br></div><div dir="auto">Doing this by a manually created install.sh is really a bad idea, if it is not constantly maintained.</div><div dir="auto"><br></div><div dir="auto">If you are forced by management to use your install-script, then I would recommend, that you update it with a function to find out the correct lib-path to install your driver. An example to do this are listed on the website I send before.</div><div dir="auto"><br></div><div dir="auto">Regarding to libusb-0.1:</div><div dir="auto">Afaik Sane has changed from libusb to libusb-1.x in Sane 1.0.27.</div><div dir="auto">Giving the workaround to parallel install the old version may help but could produce side effects which are not wanted.</div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>What I understand from your earlier notes, there has been some changes in the way how <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Debian based distributions arrange their libraries to add <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">"multiarch" support. So does this simply mean we need to handle it out from our scan driver?</span></span></div></div></blockquote></div><div dir="auto">In the way to update your install script or use the regular install scripts as update your dependencies for libusb to use the actual version, yes.</div><div dir="auto"><br></div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Regards,</div><div>Aveek</div><div></div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">Kind regards,</div><div dir="auto">Jörn-Ingo Weigert</div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 6, 2018 at 9:33 AM, Olaf Meeuwissen <span dir="ltr"><<a href="mailto:paddy-hack@member.fsf.org" target="_blank" rel="noreferrer">paddy-hack@member.fsf.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Aveek, Toshiya, Oliver, list,<br>
<br>
suzuki toshiya writes:<br>
<br>
> Checking Ubuntu-16.04.04 LTS, drivers are located in<br>
> /usr/lib/x86_64-linux-gnu/sane/, not /usr/lib64, as far<br>
> as I use the binary packages by Ubuntu.<br>
<br>
Correct.  Debian based distributions have rearranged where libraries<br>
(and header files) are installed to add "multiarch" support.<br>
<br>
See <a href="https://wiki.debian.org/Multiarch" rel="noreferrer noreferrer" target="_blank">https://wiki.debian.org/Multiarch</a> for details.<br>
<br>
> So, it looks correct. I'm afraid that your system<br>
> mixes i386 binaries & amd64 binaries, or, something<br>
> built by yourself. could you post more about your<br>
> system?<br>
<br>
> Aveek Basu wrote:<br>
>> Hi<br>
>><br>
>> This is Aveek from Lexmark - Driver Product Engineering team. It has<br>
>> recently come to our notice that XSANE fails to detect our scanners<br>
<br>
I expect the same result with *any* SANE frontend, not just XSane.<br>
<br>
>> XSANE tries to read the driver files from /usr/lib/sane whereas the<br>
>> files are present in /usr/lib64/sane. Due to this, XSANE is not able<br>
>> to detect any scanner.<br>
>><br>
>> This issue is being observed from Ubuntu 16.04. Could you please help<br>
>> us understand if it is a bug or a change in behaviour.<br>
<br>
You should see the same in Ubuntu 14.04 and perhaps even in 12.04 as<br>
that is when the first multiarch changes started.<br>
<br>
I'm pretty sure this is a bug in your binary packages.<br>
<br>
Hope this helps,<br>
--<br>
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27<br>
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9<br>
 Support Free Software                        <a href="https://my.fsf.org/donate" rel="noreferrer noreferrer" target="_blank">https://my.fsf.org/donate</a><br>
 Join the Free Software Foundation              <a href="https://my.fsf.org/join" rel="noreferrer noreferrer" target="_blank">https://my.fsf.org/join</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-4778136336082095555gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Aveek</div></div></div>
</div></div>
</blockquote></div></div>