Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error while loading shared libraries:libncurses.so.4

Status
Not open for further replies.

1surya

Programmer
Jul 14, 2002
25
0
0
CA
Hi There,
I wrote a script which plots data as a barchart at the gnuplot terminal on redhat linux 7.3
the command I use to plot at the gnuplot terminal is
>load "script Name"
when I call at the gnuplot terminal it works fine and gives a neat chart.
The problem is when I am calling this script in a perl program .It gives me the following error.
"load: error while laoding shared libraries:libncurses.so.4 cannot open shared object file :no such file or directory."

I checked my lib directory and i didnot find the required library.
I wonder what to do ?
I need to integrate the gnuplot script in the perl program.
I would appreciate any help.

Thanks in advance.
regards
surya
 
1. test ldd /usr/bin/gnuplot see so.5
if so, put /usr/bin/gnuplot in script
2. if 1 not work
check /lib/libncurses*
probably have /lib/libncurses.so.5xxx
detestable solution:
cd /lib
ln -s libncurses.so.5 libncurses.so.4
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top