1834272 Members
46172 Online
110066 Solutions
New Discussion

lynx doesn't work

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

lynx doesn't work

I've installed lynx package:

lynx 2.8.4 lynx downloaded from http://hpux.connect.org.uk/

but when i try to run it I get this error:

gemini# /usr/local/bin/lynx
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libncurses.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)

I've installed also
ncurses 5.2 ncurses

Do You know why?
How could I solve my this problem?

Thank You


Ubi maior, minor cessat!
9 REPLIES 9
Dirk Wiedemann
Respected Contributor

Re: lynx doesn't work

Hello,

which version of HP-UX you are using? And which precompiled versions of lynx and ncurses you have downloaded?

regards
Dirk
Dirk Wiedemann
Respected Contributor

Re: lynx doesn't work

Hello again,

please check the following:
in ncurses 5.2 for HP-UX 10.20 the lbncurses shared library is named libncurses.so and stays afaik in directory /opt/ncurses/lib/.
In the version for HP-UX 11.0 it's called libncurses.sl in directory /usr/local/lib/libncurses.sl

regards
Dirk
Mauro Gatti
Valued Contributor

Re: lynx doesn't work

I'm using HP-UX 11.11
and I've installed precompilated packages for HP-UX 11.00 PA-RISC Binary Depot (gzipped)

gemini# ls /usr/local/lib/libncurses.sl
/usr/local/lib/libncurses.sl not found

Ubi maior, minor cessat!
Mehdi_1
Regular Advisor

Re: lynx doesn't work

Hi

First make sure you have libncurses.sl in /usr/local/lib. If the library exist Then type this:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH

Let me know if that doesn't fix the problem.

Thanks
__Mehdi
Mehdi_1
Regular Advisor

Re: lynx doesn't work

Then you need to install ncurses.

Try:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/ncurses-5.2

Good luck


__Mehdi
Mauro Gatti
Valued Contributor

Re: lynx doesn't work

There isn't any libncurses.sl file on my machine.
I've already installed ncurses 5.2.
I've yet removed and re-installed ncurses without any changes!
Ubi maior, minor cessat!
Mehdi_1
Regular Advisor
Solution

Re: lynx doesn't work

Hi

I 've just removed and re-installed nucurses on my system and the libraries are in /usr/local/lib.

When did you download the depot file?


Where did you get ncurses? did you use depot file from HPUX Archive Center (hpux.connect.org.uk)?

What do you get when you type "swlist | grep ncurses"?

Did you get any error from swinstall during the installation?

Is there any header file in /usr/local/include/ncurses ?

Answer to the above questions will help me to establish where the problem comes from.

__Mehdi
Dirk Wiedemann
Respected Contributor

Re: lynx doesn't work

Hi,

okay, i've just downloaded ncurses 5.2 as 11.0 binary and installed it on a HP-UX 11.0 system.
/usr/local/lib/libncurses.sl exists.
I suggest you should download the ncurses binary once more and perform a new installation with the new depot. If problem persists check your swinstall-logs.

regards
Dirk
Mauro Gatti
Valued Contributor

Re: lynx doesn't work

It's OK!
I've RE-removed ncurses, and RE-reinstalled it and this time the file previous missing was in correct place!

Thank You

Ubi maior, minor cessat!