unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21398: can't compile 25.0.50 m17n-lib libotf-0.9.13 upgraded
@ 2015-09-02 12:37 Uwe Brauer
  2015-09-02 16:00 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2015-09-02 12:37 UTC (permalink / raw)
  To: 21398

Hello

I successfully compiled and installed 
m17n-lib and  libotf. I downloaded the latest git version and tried to
compile this time I obtained an error much later namely:

/temacs --batch --load loadup bootstrap
./temacs: error while loading shared libraries: libotf.so.0: cannot open shared object file: No such file or directory
make[2]: *** [bootstrap-emacs] Error 127
make[2]: Leaving directory `/home/oub/src/emacs/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/oub/src/emacs'
make: *** [bootstrap] Error 2

So m17n and libotf install per default in /usr/local

However it seems that Emacs expects them in /usr.

I will reinstall mn17 and libotf.

This is all very odd.

Uwe Brauer 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#21398: can't compile 25.0.50 m17n-lib libotf-0.9.13 upgraded
  2015-09-02 12:37 bug#21398: can't compile 25.0.50 m17n-lib libotf-0.9.13 upgraded Uwe Brauer
@ 2015-09-02 16:00 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2015-09-02 16:00 UTC (permalink / raw)
  To: 21398

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-02 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02 12:37 bug#21398: can't compile 25.0.50 m17n-lib libotf-0.9.13 upgraded Uwe Brauer
2015-09-02 16:00 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).