I have a small sctipt called dict under my /usr/local/bin.
# cat dict
#!/usr/bin/ksh -f
set word=$1
# lynx is a text-based browser
# available free on the web/net.
lynx -cfg=/dev/null -dump " http://www.dictionary.com/cgi-bin/dict.pl?term=${word}" | more
The PATH and LD_LIBRARY_PATH variables are as follows:
# echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/ssl/bin:/usr/local/mysql/bin:/usr/ccs/bin
#
# echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:/usr/local/ssl/lib:/usr/local/bin
When I try to run this script (/usr/local/bin/dict), the following error is returned.
# /usr/local/bin/dict
ld.so.1: lynx: fatal: libncurses.so.5: open failed: No such file or directory
In fact I have downloaded and installed libncurses.so.5 from
http://www.autistici.org/bolic1/tools/packets/
Your help is appreciated and thanks in advance.