Re: how do I compile lynx so that curses is statically linked?

From: Mike Machado (mike@linus.cheapnet.net)
Date: Tue Aug 17 1999 - 15:28:58 PDT


You can check for a ./configure option. Depending on how big the libcurses
library is you could end up with a large exeacutable. Also I'm not sure,
but you might run into problems where libraries libncurses needs are
missing on the other sun system as well. Your best bet would be to install
the ncurses stuff on the new machine.

Mike Machado
mike@innercite.com
InnerCite
Network Specialist

On Tue, 17 Aug 1999, Brian E. Lavender wrote:

> I hope you will forgive me for posting a question where I am doing
> the work on a Sun. I am compiling lynx, and I am tranferring the
> binary to another Sun. The machine I am putting the binary on does
> not have the curses library on it. When I try to start lynx I get the
> error
>
> ld.so.1: lynx: fatal: libcurses.so.1: open failed: No such file or directory
> Killed
>
> I am thinking of compiling lynx with the curses library statically linked.
> I suppose I could also copy the library over and add to the library search
> path.
>
> How do I do either one of these?
>
> I am primarily leaning towards the static linking solution.
>
> brian
> --
> Brian Lavender
> http://www.brie.com/brian/
>



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:06 PST