Compiling openssh 2.5.p1 on unixware 7.0.1

Tim Rice tim at multitalents.net
Thu Apr 12 01:43:47 EST 2001


On Wed, 11 Apr 2001, [iso-8859-2] Dean Luka Domikuliæ wrote:

> Mea culpa,
> it looks like the system was missconfigured.

Do you have ptf7123a installed?
I'm not seing any problem on UnixWare 7.1.0

> LIBS=-lshadow did not help.
> But thanks for the advice.
> getspnam is in shadow.h in /usr/include
> but there is no libshadow* library.
> Library in which getspnam really is is libgen.
> I found that library with find and it is in /usr/ccs/lib.
> I checked with grep and strings and it realy contains getspnam.
> 
> So I added /usr/ccs/lib to LD_LIBRARY_PATH,
> removed config.cache, started ./configure
> again and everything went fine.
> 
> Maybe /usr/ccs/lib should be added in
> lib path for this platform.
> 
> > -----Original Message-----
> > From: Damien Miller [mailto:djm at mindrot.org]
> > Sent: Wednesday, April 11, 2001 3:20 AM
> > To: Dean Luka Domikuliæ
> > Cc: 'openssh-unix-dev at mindrot.org'
> > Subject: Re: Compiling openssh 2.5.p1 on unixware 7.0.1
> > 
> > 
> > On Tue, 10 Apr 2001, [iso-8859-2] Dean Luka Domikuliae wrote:
> > 
> > > Hi.
> > >
> > > I'm tryng to compile openssh 2.5.p1 (latest)
> > > on sco unixware 7.0.1 and I'm getting
> > > this error in make:
> > >
> > > cc -o sshd sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-chall.o
> > > auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth2-pam.o
> > > auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o dh.o 
> > sshpty.o log-server.o
> > > sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o
> > > groupaccess.o -L. -Lopenbsd-compat/  -L/usr/local/lib 
> > -L/usr/local/ssl/lib
> > > -L/usr/local/ssl/lib -lssh -lopenbsd-compat -lz -lsocket -lnsl -lgen
> > > -lcrypto
> > > Undefined                       first referenced
> > >  symbol                             in file
> > > getspnam                            auth.o
> > > UX:ld: ERROR: sshd: fatal error: Symbol referencing errors. 
> > No output
> > > written to sshd
> > > make: *** [sshd] Error 1
> > 
> > Can you try:
> > 
> > LIBS=-lshadow ./configure [whatever]
> > 
> > -d
> > 
> > -- 
> > | Damien Miller <djm at mindrot.org> \ ``E-mail attachments are 
> > the poor man's
> > | http://www.mindrot.org          /   distributed 
> > filesystem'' - Dan Geer
> > 
> 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list