1826615 Members
2799 Online
109695 Solutions
New Discussion

Re: Problems with "less"

 
dictum9
Super Advisor

Problems with "less"

Do I need to install curses? I have man pages and all working fine. Why does it core dump when I run "less".




# less list
/usr/lib/dld.sl: Can't find path for shared library: libncurses.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: Problems with "less"

Hi,

Do a chatr for "less" and see what it requires.

Also, have you downloaded less from HP-UX porting center ? If yes, you have to download and install the following run time depedanciies.

Run-time dependencies: bison flex libgcc gettext libiconv m4 termcap

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter Nikitka
Honored Contributor

Re: Problems with "less"

Hi,

I have currently installed the package less from a depot less-385-sd-11.11.depot , downloaded from the HP porting center.
It uses the shared library
/usr/local/lib/libintl.sl
which is found in the product less.less-RUN .
This product I installed via the depot gettext-0.14.1-sd-11.00.depot found at the same place.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Sandman!
Honored Contributor

Re: Problems with "less"

Which "less" package did you get from the porting centre...post the output of:

# ldd -v

thanks!
dictum9
Super Advisor

Re: Problems with "less"

# ldd -v /usr/local/bin/less

find library=/usr/lib/libc.2; required by /usr/local/bin/less
/usr/lib/libc.2 => /usr/lib/libc.2

find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2

find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2

find library=/usr/local/lib/libncurses.sl; required by /usr/local/bin/less
/usr/lib/dld.sl: Can't find path for shared library: libncurses.sl
/usr/lib/dld.sl: No such file or directory
Matti_Kurkela
Honored Contributor

Re: Problems with "less"

Yes, you need to install ncurses.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/ncurses-5.5/

The run-time dependencies for less look a bit strange to me. The libgcc, gettext, libiconv and termcap would make sense. It should also mention ncurses, the error message makes that obvious.

But bison, flex and m4 (parser generator tools and macro pre-processor, all programming tools) as _run-time_ dependencies for a text viewer like less??? Looks like a typical Porting Archive dependency documentation mistake.
MK