Subject: Re: bug#21398: can't compile 25.0.50 m17n-lib libotf-0.9.13 upgraded

From: Glenn Morris <[email-masked]>
Date: Wed, 02 Sep 2015 12:00:49 -0400

Uwe Brauer wrote:

> /temacs --batch --load loadup bootstrap
> ./temacs: error while loading shared libraries: libotf.so.0: cannot
> open shared object file: No such file or directory
[...]
> So m17n and libotf install per default in /usr/local
>
> However it seems that Emacs expects them in /usr.

Emacs has no expectations.
It sounds like you are using a distribution where /usr/local/lib
is not included in the default runtime shared library search path.
You can fix that by a number of methods, eg set the LD_LIBRARY_PATH
environment variable at runtime, add -Wl,-rpath=/usr/local/lib to
LDFLAGS when bulding Emacs, edit /etc/ld.so.conf.