Re: make fails to find libncurses.so.5 on Solaris 8

Thomas Esser <[email protected]>
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
> I am trying to compile teTeX 2.0.2 on a Solaris 8 box with the Companion
> Software (which provides the SFWncur package), but it's failing during make
> with "ld.so.1: ./makedoc: fatal: libncurses.so.5: open failed: No such file
> or directory"

If you don't need texinfo, just
  ./configure --without-texinfo
and it should work...

There are two applications that need some curses library: tcdialog and
texinfo. One important thing anout teTeX is that --with-ncurses-libdir
and --with-system-ncurses only affects tcdialog, not texinfo.

The texinfo package in teTeX is 100% the same as the original
texinfo distribution, so you might as well report your problem to
[email protected]. My guess is that you can solve your problem by
running configure the following way:
  CPPFLAGS=-I/opt/sfw/include LDFLAGS='-L/opt/sfw/lib -R/opt/sfw/lib' ./configure --with-system-ncurses

> Why is there a "no such file" error when I've explictly defined the path to it?

The linker on Solaris makes a difference between link-time and run-time
(-L option and -R option) path. Somehow, the compile-time linker has
found the library; the run--time linker later did not find it. You might
report this as a bug for the texinfo package.

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.