installation description simplified

merge-requests/1/head
Rolf Bensch 2012-07-27 13:50:33 +02:00
rodzic bddda7709c
commit ff887bef68
1 zmienionych plików z 28 dodań i 24 usunięć

Wyświetl plik

@ -192,34 +192,38 @@ Install missing development packages with your prefered package manager:
libusb-dev libusb-dev
Search the location where your system installed libsane.so.1. Search the location where your system installed libsane.so.1.
Each distribution uses different folders and package names for the libraries. Each distribution uses different folders for the libraries.
On systems with DEB packaging (e.g. Debian, [KX]Ubuntu, LinuxMint) you can Here are some examples from 64 bit Ubuntu 10.04. For the installation process
search the location of libsane with this command (the response can be you need to replace /usr/lib with the folder detected on your system.
different to this example):
$ dpkg -L libsane | grep libsane.so.1 $ sudo find / -name libsane.so.1
/usr/lib/libsane.so.1.0.20 /usr/lib/libsane.so.1
/usr/lib is the folder we are looking for.
Be careful on 64 bit systems, if you already installed 32 bit compatibility
libraries, e.g. the package ia32-libs:
$ sudo find / -name libsane.so.1
/usr/lib/libsane.so.1 /usr/lib/libsane.so.1
/usr/lib32/libsane.so.1
On systems with RPM packaging (e.g. Redhat, Fedora, openSUSE) you can search This response contains 2 folders: (1) /usr/lib32 is the location of the
the location of libsane with one of these commands (the response can be 32 bit compatibility libraries. (2) /usr/lib is the folder we are looking
different to these examples): for.
$ rpm -ql sane-backends | grep libsane.so.1 <== needed for openSUSE 12.1 Be careful, if you already compiled and installed new SANE backend:
$ sudo find / -name libsane.so.1
/usr/lib/libsane.so.1 /usr/lib/libsane.so.1
/usr/lib/libsane.so.1.0.22 /usr/local/lib/libsane.so.1
/home/user/src/sane-backends/backend/.libs/libsane.so.1
or This response contains 3 folders: (1) /usr/local/lib is the location of
installed new SANE backend. (2) /home/user/src/sane-backends/backend/.libs
$ rpm -ql sane-backends-libs | grep libsane.so.1 <== needed for Fedora 17 is the location of compiled new SANE backend in the source tree.
/usr/lib/libsane.so.1 (3) /usr/lib is the folder we are looking for.
/usr/lib/libsane.so.1.0.22
In the examples above /usr/lib is the folder we are looking for.
During the installation process described below please replace /usr/lib with
the location of your system's libsane.
Decide where you want to install new libsane. Decide where you want to install new libsane.
You can set symbolic links to new libsane. You can set symbolic links to new libsane.