Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 1999 20:00:14 +1000
From:      Sue Blake <sue@welearn.com.au>
To:        Greg Lehey <grog@lemis.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Why won't ssh install?
Message-ID:  <19990720200013.L300@welearn.com.au>
In-Reply-To: <19990720093111.L72885@freebie.lemis.com>; from Greg Lehey on Tue, Jul 20, 1999 at 09:31:11AM %2B0930
References:  <19990720051804.J300@welearn.com.au> <19990720093111.L72885@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, Jul 20, 1999 at 09:31:11AM +0930, Greg Lehey wrote:
> [Format recovered--see http://www.lemis.com/email/email-format.html]
> 
> On Tuesday, 20 July 1999 at  5:18:06 +1000, Sue Blake wrote:
> > My attempts to install several versions of ssh to one particular
> > machine always fail, though it installs fine on other machines. Here's
> > how the latest attempt with ssh-1.2.27 finished. How do I make sense of
> > this?
> > 
> > cc -pipe  -o ssh-askpass ssh-askpass.o xmalloc.o -L/usr/X11R6/lib  -lX11  -lcrypt -L/usr/local/lib  -lutil
> > ssh-askpass.o: In function en_display':
> > ssh-askpass.o(.text+0x52): undefined reference to penDisplay'
> > ssh-askpass.o: In function Close_display':
> > ssh-askpass.o(.text+0x7e): undefined reference to eeModifiermap'
> > ssh-askpass.o(.text+0x8f): undefined reference to nloadFont'
> > ssh-askpass.o(.text+0xa5): undefined reference to oseDisplay'
> > (etc)
> 
> This looks like a missing library.  Compare the output with the output
> on one of your other systems.  You'll probably find that the cc
> invocation is missing an -lfoo or some such.


I did 'make clean' and 'make' on two machines and captured the output.

On the machine with the successful installation, it ends here:

sed "s#&PERL&#/replace_it_with_PERL_path#" <./make-ssh-known-hosts.pl >make-ssh-known-hosts
chmod +x make-ssh-known-hosts

and on the machine with the problem it continues:

sed "s#&PERL&#/replace_it_with_PERL_path#" <./make-ssh-known-hosts.pl >make-ssh-
known-hosts
chmod +x make-ssh-known-hosts
cc -pipe -c -I.  -I../../../rsaref/work -I.//usr/include -I.//usr/include -DHAVE
_CONFIG_H  -DHOST_KEY_FILE=\"/usr/local/etc/ssh_host_key\" -DHOST_CONFIG_FILE=\"
/usr/local/etc/ssh_config\" -DSERVER_CONFIG_FILE=\"/usr/local/etc/sshd_config\" 
-DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/usr/local/etc\" -DPIDDIR=\"/va
r/run\" -DSSH_BINDIR=\"/usr/local/bin\" -DTIS_MAP_FILE=\"/usr/local/etc/sshd_tis
.map\" -O -pipe -I/usr/X11R6/include ssh-askpass.c
rm -f ssh-askpass
cc -pipe  -o ssh-askpass ssh-askpass.o xmalloc.o -L/usr/X11R6/lib  -lX11  -lcryp
t -L/usr/local/lib  -lutil
ssh-askpass.o: In function en_display':
ssh-askpass.o(.text+0x52): undefined reference to penDisplay'
ssh-askpass.o: In function lose_display':
ssh-askpass.o(.text+0x7e): undefined reference to eeModifiermap'
ssh-askpass.o(.text+0x8f): undefined reference to nloadFont'
ssh-askpass.o(.text+0xa5): undefined reference to oseDisplay'

and so on as before, until

*** Error code 1
Stop.


What now?

 

-- 

Regards,
        -*Sue*-
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990720200013.L300>