diff options
Diffstat (limited to 'etc/PROBLEMS')
| -rw-r--r-- | etc/PROBLEMS | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 078352d78f4..58f2bb9bcf2 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -255,6 +255,36 @@ result in an endless loop. | |||
| 255 | If you need Emacs to be able to recover from closing displays, compile | 255 | If you need Emacs to be able to recover from closing displays, compile |
| 256 | it with the Lucid toolkit instead of GTK. | 256 | it with the Lucid toolkit instead of GTK. |
| 257 | 257 | ||
| 258 | ** Emacs crashes when you try to view a file with complex characters. | ||
| 259 | For example, the etc/HELLO file (as shown by C-h h). | ||
| 260 | The message "symbol lookup error: /usr/bin/emacs: undefined symbol: OTF_open" | ||
| 261 | is shown in the terminal from which you launched Emacs. | ||
| 262 | This problem only happens when you use a graphical display (ie not | ||
| 263 | with -nw) and compiled Emacs with the "libotf" library for complex | ||
| 264 | text handling. | ||
| 265 | |||
| 266 | This problem occurs because unfortunately there are two libraries | ||
| 267 | called "libotf". One is the library for handling OpenType fonts, | ||
| 268 | http://www.m17n.org/libotf/, which is the one that Emacs expects. | ||
| 269 | The other is a library for Open Trace Format, and is used by some | ||
| 270 | versions of the MPI message passing interface for parallel | ||
| 271 | programming. | ||
| 272 | |||
| 273 | For example, on RHEL6 GNU/Linux, the OpenMPI rpm provides a version | ||
| 274 | of "libotf.so" in /usr/lib/openmpi/lib. This directory is not | ||
| 275 | normally in the ld search path, but if you want to use OpenMPI, | ||
| 276 | you must issue the command "module load openmpi". This adds | ||
| 277 | /usr/lib/openmpi/lib to LD_LIBRARY_PATH. If you then start Emacs from | ||
| 278 | the same shell, you will encounter this crash. | ||
| 279 | Ref: <URL:https://bugzilla.redhat.com/show_bug.cgi?id=806031> | ||
| 280 | |||
| 281 | There is no good solution to this problem if you need to use both | ||
| 282 | OpenMPI and Emacs with libotf support. The best you can do is use a | ||
| 283 | wrapper shell script (or function) "emacs" that removes the offending | ||
| 284 | element from LD_LIBRARY_PATH before starting emacs proper. | ||
| 285 | Or you could recompile Emacs with an -Wl,-rpath option that | ||
| 286 | gives the location of the correct libotf. | ||
| 287 | |||
| 258 | * General runtime problems | 288 | * General runtime problems |
| 259 | 289 | ||
| 260 | ** Lisp problems | 290 | ** Lisp problems |
| @@ -1854,8 +1884,8 @@ Emacs uses symbolic links to implement file locks. In a directory | |||
| 1854 | with +t bit, the directory owner becomes the owner of the symbolic | 1884 | with +t bit, the directory owner becomes the owner of the symbolic |
| 1855 | link, so that it cannot be removed by anyone else. | 1885 | link, so that it cannot be removed by anyone else. |
| 1856 | 1886 | ||
| 1857 | If you don't like those useless links, you can let Emacs not to using | 1887 | If you don't like those useless links, you can customize |
| 1858 | file lock by adding #undef CLASH_DETECTION to config.h. | 1888 | the option `create-lockfiles'. |
| 1859 | 1889 | ||
| 1860 | *** FreeBSD: Getting a Meta key on the console. | 1890 | *** FreeBSD: Getting a Meta key on the console. |
| 1861 | 1891 | ||