On Tue, 2002-02-12 at 14:05, Lisa Bogar wrote:
<snip>
> 
> Starting sshd2 on port 22... 
> ld.so.1: /usr/local/sbin/sshd2: fatal: libncurses.so.5: open failed: No
> such file or directory
> Killed

This is probably because it cannot find the libncurses.so.5 file within
the LD_LIBRARY_PATH. 

> 
> I'm installed ncurses and gcc from the Software Companion included with my
> Solaris 8 media. 
> 

Make sure that the libcurses you installed created the file it is
looking for above. (apparently it is since you got it to compile below)


> SFWncur
> 5.2 REV=2001.08.14.05.14
> ncurses is installed in /opt/sfw/lib 
> 

It might be a good idea to 'ln -s' the contents of /opt/sfw/lib ->
/usr/lib. That way if anyone else needs to install something using the
libs it will be in a place where most ./configure scripts will look
first.


> SFWgcc
> 2.95.3, REV=2001.08.14.05.14
> gcc is installed in /opt/sfw/bin
> 
> I also have the c-compiler from the Forte suite, but ./configure picks up
> my gcc.  When I run make it is using the /usr/ccs/bin/make.  Is there some
> configure option I need to make certain it knows the location of my
> ncurses?
>

I always install the latest GCC from sunfreeware.com when I install a
solaris box. It makes the compiles go by much more smoothly and life a
lot easier.

 
> Has anyone else had this difficulty?  I have gotten around this by adding
> a line in my startup with LD_LIBRARY_PATH, but then I have to put it in
> each of the user's startup files too.
> 
> Is there a flag I should be setting when I run configure?  It does
> already find libncurses when I run configure.  It seems to be a linker
> problem.
> 
> Thanks,
> Lisa
>  
> **************************************
> *  Lisa L. Bogar                     *
> *  Montana State University-Bozeman  *
> *  Information Technology Center     *
> *  Bozeman, MT 59717-3240            *
> *                                    *
> *  Phone:  (406) 994-7887            *
> *  FAX:    (406) 994-4600            *
> *  email:  [EMAIL PROTECTED]        *
> **************************************
> 

Wish ya luck.

-- 
Mike Duncan
[EMAIL PROTECTED]
http://www.randomtask.net
---

Reply via email to