Operating System - HP-UX
1752298 Members
4462 Online
108786 Solutions
New Discussion юеВ

man needs libncurses.sl ??

 
Laszlo Csizmadia
Frequent Advisor

man needs libncurses.sl ??

HP-UX 11.11 is telling me this:
$ man ls
/usr/lib/dld.sl: Can't find path for shared library: libncurses.sl
/usr/lib/dld.sl: No such file or directory
sh: 2513 Abort(coredump)
But why? Libncurses is not even needed to run man - obviously not on this system either:
$ ldd /usr/bin/man
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2

Any idea what can be wrong here?
3 REPLIES 3
T G Manikandan
Honored Contributor

Re: man needs libncurses.sl ??

$which man

probably it is picking up the worng 'man'
Stefan Farrelly
Honored Contributor

Re: man needs libncurses.sl ??

make sure you are running /usr/bin/man
because as you said it doesnt need libncurses.sl

Could be your shell has got screwed up - ive seen it happen before, inexplicable behaviour. Try logging out then in again.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Laszlo Csizmadia
Frequent Advisor

Re: man needs libncurses.sl ??

It was because of shell settings:
PAGER=/usr/local/bin/less and less requires libncurses which I didn't have.
Thanks.