Hello John,


> Thanks, Harry.  But  when I try to install the rpm it is still looking for that
> ncurses. I guess Gerd is right - I have to link it somehow.
> >
> >                            Name: libncurses.so.3.4
> >    libncurses.so.3.4       Type: unspecified type (application/octet-stream)
> >                        Encoding: base64

What a kind man :), but you mentioned that you already have 
libncurses.so.3.4 on your system.

So I think you must do the following:

1. Ensure that the directory where you libncurses resides is in 
LD_LIBRARY_PATH.
This can be set somewhere in your startup scripts. In Slackware, it 
is /etc/rc.d/rc.M (BSD style init). In RedHat, which works with the 
somehow complicated Sys V style init, you either have to look for 
a script called boot.local (it should be in /sbin/init.d) or grep your 
startup scripts for that LD_LIBRARY_PATH entry.

If you found it, add your libncurses directory. If not, edit boot.local 
or /etc/profile and add the following line:

export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/where/your/libncurses/
resides

Note: This should be done before issuing the usual ldconfig 
command during startup, that's why I mentioned the startup scripts.

You can simply test if this works for you. Type the export 
command as written above, follwed by calling ldconfig.

After that, programs should recognize your libncurses file....

Cheers

Gerd

Reply via email to