On 25-08-15 16:17, Josef Latt wrote:
> I tried without that change on UBUNTU 15.04 and get an error: qmapshack:
> error while loading shared libraries: libroutino.so: cannot open shared
> object file: No such file or directory
>
> Ubuntu requires some files in /usr not in /usr/local.
>
> Without the change you have to copy some files to /usr as described in
> another thread by Oliver.
Custom builds should always use /usr/local, /usr is reserved for the
system provided software as documented in the Filesystem Hierarchy
Standard:
"
The /usr/local hierarchy is for use by the system administrator when
installing software locally. It needs to be safe from being
overwritten when the system software is updated. It may be used for
programs and data that are shareable amongst a group of hosts, but not
found in /usr.
Locally installed software must be placed within /usr/local rather
than /usr unless it is being installed to replace or upgrade software
in /usr. [27]
[27] Software placed in / or /usr may be overwritten by system
upgrades (though we recommend that distributions do not overwrite
data in /etc under these circumstances). For this reason, local
software must not be placed outside of /usr/local without good
reason.
"
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY
The routino library for custom builds should be installed in
/usr/local/lib or preferably its Multi-Arch subdirectory.
To have the library found by other programs you need to add the
/usr/local/lib directory to the search paths in /etc/ld.so.conf.
On Debian/Ubuntu you can drop in a configuration sniplet in
/etc/ld.so.conf.d for the local configuration:
$ cat /etc/ld.so.conf.d/usr-local.conf
/usr/local/lib
If you use the Multi-Arch library paths you need to append the paths to
the 32 & 64bit library path configurations:
/etc/ld.so.conf.d/i386-linux-gnu.conf
/etc/ld.so.conf.d/x86_64-linux-gnu.conf
These need to have respectively /usr/local/lib/i386-linux-gnu and
/usr/local/lib/x86_64-linux-gnu appended, preferably with a comment to
help you merge the configuration changes on upgrade, e.g.:
$ cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf
# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
# Custom local libraries
/usr/local/lib/x86_64-linux-gnu
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users