root@raspberrypi:~:arm$ dpkg -c brscan2-0.2.5-1.i386.deb |grep lib|grep so -rwxr-xr-x root/root 11444 2009-12-01 18:38 ./usr/lib/libbrcolm2.so.1.0.0 -rwxr-xr-x root/root 27912 2009-12-01 18:38 ./usr/lib/libbrscandec2.so.1.0.0 -rwxr-xr-x root/root 94516 2009-12-01 18:38 ./usr/lib/sane/libsane-brother2.so.1.0.7 lrwxrwxrwx root/root 0 2009-12-01 18:38 ./usr/lib/libbrcolm2.so -> /usr/lib/libbrcolm2.so.1 lrwxrwxrwx root/root 0 2009-12-01 18:38 ./usr/lib/libbrscandec2.so.1 -> /usr/lib/libbrscandec2.so.1.0.0 lrwxrwxrwx root/root 0 2009-12-01 18:38 ./usr/lib/libbrscandec2.so -> /usr/lib/libbrscandec2.so.1 lrwxrwxrwx root/root 0 2009-12-01 18:38 ./usr/lib/libbrcolm2.so.1 -> /usr/lib/libbrcolm2.so.1.0.0 lrwxrwxrwx root/root 0 2009-12-01 18:38 ./usr/lib/sane/libsane-brother2.so.1 -> /usr/lib/sane/libsane-brother2.so.1.0.7 lrwxrwxrwx root/root 0 2009-12-01 18:38 ./usr/lib/sane/libsane-brother2.so -> /usr/lib/sane/libsane-brother2.so.1
so I will recompile to with libdir=/usr/lib and see if that works. On Thu, Jan 11, 2018 at 5:28 AM, Olaf Meeuwissen <paddy-h...@member.fsf.org> wrote: > Hi, > > Jeff Sadowski writes: > >> It seems to be wanting .la files when I have .so files so is there a >> flag to support shared object files over .la? > > The dynamic loading should look for .la files first and failing to find > those, look for .so files. You don't need any flag for that (and AFAIK > there isn't one). > >> On Wed, Jan 10, 2018 at 1:36 PM, Jeff Sadowski <jeff.sadow...@gmail.com> >> wrote: >>> I pulled the current git of sane-backend from >>> https://anonscm.debian.org/git/sane/sane-backends.git >>> >>> I did >>> ./configure --prefix=/usr --libdir=/usr/lib/i386-linux-gnu >>> --sysconfdir=/etc --localstatedir=/var -- >>> make >>> make install >>> >>> now when I run "scanimage -L" it can't see my scanner. Is there a flag >>> I need to use other drivers than the ones it compiles as the brother >>> printer driver is a binary package? > > The backends you built are installed below /usr/lib/i386-linux-gnu/sane/ > as libsane-$backendname.$extension, right? Where is the backend of that > brother binary package installed? > > If it's not in the same directory, you need to tell the loader to look > in the directory where the brother binary package installed its > backend. Let's say that is /opt/brother/sane, then you'd have to run > > LD_LIBRARY_PATH=/opt/brother/sane scanimage -L > > Alternatively, you can make a symbolic link to the brother backend from > /usr/lib/i386-linux-gnu/sane/. Using the same example location > > cd /usr/lib/i386-linux-gnu/sane > ln -s /opt/brother/sane/libsane-$backendname.$extension > > Hope this helps, > -- > Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 > GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 > Support Free Software https://my.fsf.org/donate > Join the Free Software Foundation https://my.fsf.org/join -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org